summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-09-18 21:44:37 +0200
committerMicah Anderson <micah@riseup.net>2013-02-14 17:59:00 -0500
commit52ee95453998f64bb7a97dfff31d6e35c8e31b88 (patch)
tree31d3dfc3ac5a8ed0e11b2260c2ee04682754170c
parent139e8fd42661848da4765b8c4f65fe85a54a2d9f (diff)
no ::nagios_packagename variable anymore
-rw-r--r--manifests/pnp4nagios/popup.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/pnp4nagios/popup.pp b/manifests/pnp4nagios/popup.pp
index 7921a29..b0da18b 100644
--- a/manifests/pnp4nagios/popup.pp
+++ b/manifests/pnp4nagios/popup.pp
@@ -1,4 +1,5 @@
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",
@@ -7,11 +8,11 @@ class nagios::pnp4nagios::popup inherits nagios::pnp4nagios {
notify => Service['nagios'],
}
- file { "/usr/share/$nagios::nagios_packagename/htdocs/ssi":
+ file { "/usr/share/nagios3/htdocs/ssi":
ensure => directory }
file { 'status-header.ssi':
- path => "/usr/share/$nagios::nagios_packagename/htdocs/ssi/status-header.ssi",
+ path => "/usr/share/nagios3/htdocs/ssi/status-header.ssi",
source => [ "puppet:///modules/site-nagios/pnp4nagios/status-header.ssi",
"puppet:///modules/nagios/pnp4nagios/status-header.ssi"],
mode => 0644, owner => root, group => root,