summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/default.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/default.pp b/manifests/default.pp
index d5be090..37676f6 100644
--- a/manifests/default.pp
+++ b/manifests/default.pp
@@ -1,13 +1,14 @@
define nagios::default {
file { "nagios_default_${name}" :
- path => "${nagios_cfg_dir}/defaults/${name}.cfg",
+ path => "${nagios::nagios_cfg_dir}/defaults/${name}.cfg",
source => [ "puppet://$server/files/nagios/configs/${fqdn}/defaults/${name}.cfg",
"puppet://$server/files/nagios/configs/${operatingsystem}/defaults/${name}.cfg",
"puppet://$server/files/nagios/configs/defaults/${name}.cfg",
"puppet://$server/nagios/configs/${operatingsystem}/defaults/${name}.cfg",
"puppet://$server/nagios/configs/defaults/${name}.cfg" ],
notify => Service['nagios'],
+ ensure => absent,
mode => 0644, owner => root, group => root;
}