blob: 7921a29f0eec7caf3fc54a81cc302b566d8ca7c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
class nagios::pnp4nagios::popup inherits nagios::pnp4nagios {
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/$nagios::nagios_packagename/htdocs/ssi":
ensure => directory }
file { 'status-header.ssi':
path => "/usr/share/$nagios::nagios_packagename/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,
notify => Service['nagios'],
}
}
|