summaryrefslogtreecommitdiff
path: root/manifests/config.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/config.pp')
-rw-r--r--manifests/config.pp8
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/config.pp b/manifests/config.pp
index 73e4882..fdc3f1b 100644
--- a/manifests/config.pp
+++ b/manifests/config.pp
@@ -1,9 +1,9 @@
class check_mk::config (
$site,
$host_groups = undef,
-) {
- $etc_dir = "/omd/sites/${site}/etc"
+ $etc_dir = "/omd/sites/${site}/etc",
$bin_dir = "/omd/sites/${site}/bin"
+) {
file { "${etc_dir}/nagios/local":
ensure => directory,
}
@@ -12,13 +12,13 @@ class check_mk::config (
line => "cfg_dir=${etc_dir}/nagios/local",
path => "${etc_dir}/nagios/nagios.cfg",
require => File["${etc_dir}/nagios/local"],
- notify => Class['check_mk::service'],
+ #notify => Class['check_mk::service'],
}
file_line { 'add-guest-users':
ensure => present,
line => 'guest_users = [ "guest" ]',
path => "${etc_dir}/check_mk/multisite.mk",
- notify => Class['check_mk::service'],
+ #notify => Class['check_mk::service'],
}
concat { "${etc_dir}/check_mk/main.mk":
owner => 'root',