diff options
author | Keith Burdis <keith@burdis.org> | 2013-02-09 08:51:44 +0000 |
---|---|---|
committer | Keith Burdis <keith@burdis.org> | 2013-02-09 08:51:44 +0000 |
commit | 0769984c3e3fbac826332420c044b691b5d11f8b (patch) | |
tree | e3153d18e9153c2125634902da14eb10c3499673 /manifests/init.pp | |
parent | 07b0b601cfb9ad4224e3b65fccb736bc5c93f41d (diff) |
* Added host tags to agent config so that host groups can be auto-populated
* Fixed incorrect package name when using a file store that was causing the
package existence check to fail always causing an often failing reinstall
* Enable a static list of hosts to be specified for those without the Puppet
check_mk module installed
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 2686f55..24e4e0d 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,8 +1,9 @@ class check_mk ( - $filestore = undef, - $package = 'omd', - $site = 'monitoring', - $workspace = '/root/check_mk', + $filestore = undef, + $host_groups = undef, + $package = 'omd-0.56', + $site = 'monitoring', + $workspace = '/root/check_mk', ) { class { 'check_mk::install': filestore => $filestore, @@ -11,8 +12,9 @@ class check_mk ( workspace => $workspace, } class { 'check_mk::config': - site => $site, - require => Class['check_mk::install'], + host_groups => $host_groups, + site => $site, + require => Class['check_mk::install'], } class { 'check_mk::service': require => Class['check_mk::config'], |