From 7d6e6e57f1f12702a13c326bcae13406d424a509 Mon Sep 17 00:00:00 2001 From: Matt Taggart Date: Thu, 20 Jul 2017 13:01:26 -0700 Subject: create a check_mk::params and start using it --- manifests/init.pp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'manifests/init.pp') diff --git a/manifests/init.pp b/manifests/init.pp index 4aab837..8bba46f 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -4,16 +4,17 @@ class check_mk ( $host_groups = undef, $package = 'omd-0.56', $site = 'monitoring', - $workspace = '/root/check_mk', - $omd_service_name = 'omd', - $http_service_name = 'httpd', - $xinitd_service_name = 'xinetd', + $workspace = $check_mk::params::workspace, + $omd_service_name = $check_mk::params::omd_service_name, + $http_service_name = $check_mk::params::http_service_name, + $xinitd_service_name = $check_mk::params::xinetd_service_name, $omdadmin_htpasswd = undef, $use_ssh = false, - $shelluser = 'monitoring', - $shellgroup = 'monitoring', + $shelluser = $check_mk::params::shelluser, + $shellgroup = $check_mk::params::shellgroup, $use_storedconfigs = true, - $inventory_only_on_changes = true) { + $inventory_only_on_changes = true +) inherits check_mk::params { class { 'check_mk::install': filestore => $filestore, -- cgit v1.2.3