From 3f42074f76d356446240a0b893cab523f3cceef3 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Sat, 20 Feb 2010 14:08:41 -0500 Subject: 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 --- manifests/defaults/templates.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- cgit v1.2.3