diff options
author | varac <varacanero@zeromail.org> | 2012-09-18 21:44:37 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2012-09-18 21:44:37 +0200 |
commit | 065244c2f913b226ca087dcdc076341c21021b4e (patch) | |
tree | 977c7dc2e7a389491a6262109a6d753c0a207946 /manifests/pnp4nagios | |
parent | af620594b228a742cd66c7694939b5d4dcb76199 (diff) |
no ::nagios_packagename variable anymore
Diffstat (limited to 'manifests/pnp4nagios')
-rw-r--r-- | manifests/pnp4nagios/popup.pp | 5 |
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, |