blob: 5a3d23d85461572a840482729d43286a879fe07b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
class nagios::defaults::templates {
file { 'nagios_templates':
path => "${nagios::nagios_cfgdir}/conf.d/nagios_templates.cfg",
source => [ "puppet://$server/modules/site-nagios/configs/${fqdn}/nagios_templates.cfg",
"puppet://$server/modules/site-nagios/configs/${operatingsystem}/nagios_templates.cfg",
"puppet://$server/modules/site-nagios/configs/nagios_templates.cfg",
"puppet://$server/modules/nagios/configs/${operatingsystem}/nagios_templates.cfg",
"puppet://$server/modules/nagios/configs/nagios_templates.cfg" ],
notify => Service['nagios'],
mode => 0644, owner => root, group => root;
}
}
|