summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-09-25 21:29:31 +0200
committerMicah Anderson <micah@riseup.net>2013-02-14 17:59:00 -0500
commit1c2981ae2f82b80d49fcc9349a959f1152b6b9ab (patch)
treedda7e583c1e2b9436ed4ba0944b79c2d5588f4c9
parentfafc63a04fad697d67dc98b96ef24015473b62f9 (diff)
fix proper deployment of pnp4nagios-templates.cfg
-rw-r--r--manifests/pnp4nagios.pp2
-rw-r--r--manifests/pnp4nagios/popup.pp4
2 files changed, 1 insertions, 5 deletions
diff --git a/manifests/pnp4nagios.pp b/manifests/pnp4nagios.pp
index 0f86d2a..efa8681 100644
--- a/manifests/pnp4nagios.pp
+++ b/manifests/pnp4nagios.pp
@@ -10,7 +10,7 @@ class nagios::pnp4nagios {
# so we need to copy a file here.
file { 'pnp4nagios-templates.cfg':
- path => "$nagios::nagios_cfgdir/conf.d/pnp4nagios-templates.cfg",
+ path => "{nagios::defaults::vars::int_cfgdir}/conf.d/pnp4nagios-templates.cfg",
source => [ "puppet:///modules/site-nagios/pnp4nagios/pnp4nagios-templates.cfg",
"puppet:///modules/nagios/pnp4nagios/pnp4nagios-templates.cfg" ],
mode => 0644, owner => root, group => root,
diff --git a/manifests/pnp4nagios/popup.pp b/manifests/pnp4nagios/popup.pp
index b0da18b..a8de7c7 100644
--- a/manifests/pnp4nagios/popup.pp
+++ b/manifests/pnp4nagios/popup.pp
@@ -1,11 +1,7 @@
class nagios::pnp4nagios::popup inherits nagios::pnp4nagios {
- notify {"${nagios::defaults::vars::int_nagios_cfgdir}":}
File['pnp4nagios-templates.cfg']{
- path => "${nagios::defaults::vars::int_nagios_cfgdir}/conf.d/pnp4nagios-templates.cfg",
source => [ "puppet:///modules/site-nagios/pnp4nagios/pnp4nagios-popup-templates.cfg",
"puppet:///modules/nagios/pnp4nagios/pnp4nagios-popup-templates.cfg" ],
- mode => 0644, owner => root, group => root,
- notify => Service['nagios'],
}
file { "/usr/share/nagios3/htdocs/ssi":