diff options
Diffstat (limited to 'manifests')
-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, |