diff options
author | varac <varacanero@zeromail.org> | 2014-03-04 16:40:27 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2014-03-04 18:18:37 +0100 |
commit | 8d77d623106d5e5edd52c086568d5caa1cb87413 (patch) | |
tree | 987cd888fa905f6679b7fea6c8fe85b11f8068a1 /manifests/init.pp | |
parent | 764cd8a0122483dce6e0a37e303b757ec0a6449e (diff) |
use check_mk::server::collect_hosts for collecting storedconfig nodes
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 999541d..7296941 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -10,7 +10,8 @@ class check_mk ( $omdadmin_htpasswd = undef, $use_ssh = false, $shelluser = 'monitoring', - $shellgroup = 'monitoring' ) { + $shellgroup = 'monitoring', + $use_storedconfigs = true ) { class { 'check_mk::install': filestore => $filestore, @@ -19,9 +20,10 @@ class check_mk ( workspace => $workspace, } class { 'check_mk::config': - host_groups => $host_groups, - site => $site, - require => Class['check_mk::install'], + host_groups => $host_groups, + site => $site, + use_storedconfigs => $use_storedconfigs, + require => Class['check_mk::install'], } class { 'check_mk::service': require => Class['check_mk::config'], |