diff options
author | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2009-12-01 16:51:29 -0500 |
---|---|---|
committer | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2009-12-01 16:51:29 -0500 |
commit | ee7599dad363f36bb5e514ae6508624378af6919 (patch) | |
tree | 55003da9d214ba4f0bd7fbb7bd2771715c83f45c | |
parent | 1f3e9ef77f365e23da52c29b85d47067fdf0d2f7 (diff) |
qualify nagios_cfg_dir variable
-rw-r--r-- | manifests/default.pp | 3 |
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; } |