summaryrefslogtreecommitdiff
path: root/puppet/modules/nagios/manifests/pnp4nagios/popup.pp
blob: 91136ccb769cff8b6fdb145a6ab3e4ca6113deb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
class nagios::pnp4nagios::popup inherits nagios::pnp4nagios {
  File['pnp4nagios-templates.cfg']{
    source => [
      'puppet:///modules/site-nagios/pnp4nagios/pnp4nagios-popup-templates.cfg',
      'puppet:///modules/nagios/pnp4nagios/pnp4nagios-popup-templates.cfg' ],
  }

  file { '/usr/share/nagios3/htdocs/ssi':
    ensure  => directory,
    require => Package['nagios'],
  }

  file { '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,
    notify  => Service['nagios'],
    require => Package['nagios'],
  }
}