summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2010-02-20 14:08:41 -0500
committerMicah Anderson <micah@riseup.net>2010-02-20 14:08:41 -0500
commit3f42074f76d356446240a0b893cab523f3cceef3 (patch)
tree005fd1fecf6a35bce4599570f609f43f1ae96fae
parent5d5ec8c28d0fe39359af8db159b14faeae397e1f (diff)
remove the classification of the $nagios_cfgdir variable. this is the
only location where specific classification is done, and this anomaly prohibits you from setting the variable in site.pp
-rw-r--r--manifests/defaults/templates.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/defaults/templates.pp b/manifests/defaults/templates.pp
index 5a3d23d..752ba60 100644
--- a/manifests/defaults/templates.pp
+++ b/manifests/defaults/templates.pp
@@ -1,7 +1,7 @@
class nagios::defaults::templates {
file { 'nagios_templates':
- path => "${nagios::nagios_cfgdir}/conf.d/nagios_templates.cfg",
+ path => "${nagios_cfgdir}/conf.d/nagios_templates.cfg",
source => [ "puppet://$server/modules/site-nagios/configs/${fqdn}/nagios_templates.cfg",
"puppet://$server/modules/site-nagios/configs/${operatingsystem}/nagios_templates.cfg",
"puppet://$server/modules/site-nagios/configs/nagios_templates.cfg",