blob: 699a83c63f5d1e446c17dcb1b263e83e56e105db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
class nagios::debian inherits nagios::base {
Package['nagios'] { name => 'nagios3' }
package { [ 'nagios-plugins', 'nagios-snmp-plugins','nagios-nrpe-plugin' ]:
ensure => 'present',
notify => Service['nagios'],
}
Service['nagios'] {
name => 'nagios3',
hasstatus => true,
}
File['nagios_htpasswd', 'nagios_cgi_cfg'] { group => 'www-data' }
}
|