diff options
author | mh <mh@immerda.ch> | 2010-05-05 23:22:10 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2010-05-05 23:22:10 +0200 |
commit | 33b091b896fbb0b54ee9968c452ef2a8867893d8 (patch) | |
tree | 863c61e2de0c258c859527e14e86b47ffd8f0bb1 /manifests/defaults/templates.pp | |
parent | 77f601607093b7fb22f3498574d0dedd2cbe01d9 (diff) | |
parent | 5d5ec8c28d0fe39359af8db159b14faeae397e1f (diff) |
merged with lavamind
Diffstat (limited to 'manifests/defaults/templates.pp')
-rw-r--r-- | manifests/defaults/templates.pp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/manifests/defaults/templates.pp b/manifests/defaults/templates.pp new file mode 100644 index 0000000..5a3d23d --- /dev/null +++ b/manifests/defaults/templates.pp @@ -0,0 +1,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; + } + +} |