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