summaryrefslogtreecommitdiff
path: root/manifests/pnp4nagios/popup.pp
blob: 0dc04b021c6441524af5801e2119809645b0069d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 }

  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'],
  }
}