summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp36
1 files changed, 19 insertions, 17 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 297c0b8..4aab837 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -1,18 +1,19 @@
# configure check_mk server
class check_mk (
- $filestore = undef,
- $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',
- $omdadmin_htpasswd = undef,
- $use_ssh = false,
- $shelluser = 'monitoring',
- $shellgroup = 'monitoring',
- $use_storedconfigs = true ) {
+ $filestore = undef,
+ $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',
+ $omdadmin_htpasswd = undef,
+ $use_ssh = false,
+ $shelluser = 'monitoring',
+ $shellgroup = 'monitoring',
+ $use_storedconfigs = true,
+ $inventory_only_on_changes = true) {
class { 'check_mk::install':
filestore => $filestore,
@@ -21,10 +22,11 @@ class check_mk (
workspace => $workspace,
}
class { 'check_mk::config':
- host_groups => $host_groups,
- site => $site,
- use_storedconfigs => $use_storedconfigs,
- require => Class['check_mk::install'],
+ host_groups => $host_groups,
+ site => $site,
+ use_storedconfigs => $use_storedconfigs,
+ inventory_only_on_changes => $inventory_only_on_changes,
+ require => Class['check_mk::install'],
}
class { 'check_mk::service':
require => Class['check_mk::config'],