summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2014-10-05 12:53:44 +0200
committermh <mh@immerda.ch>2014-10-05 12:53:44 +0200
commit885976423b223947215aaac5f32b3ee245e85683 (patch)
treea0e4a791c90290e9f42eaaf4e35f81c1e0b590d2 /manifests
parentb52d91b8fcabf0c6b1cd648cf996b7468be60969 (diff)
restore a resource that was deleted too early
Diffstat (limited to 'manifests')
-rw-r--r--manifests/base.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index c0ebf77..526a8fd 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -17,6 +17,16 @@ class nagios::base {
$cfg_dir = $nagios::defaults::vars::int_cfgdir
# this file should contain all the nagios_puppet-paths:
file{
+ 'nagios_cfgdir':
+ ensure => directory,
+ path => $cfg_dir,
+ recurse => true,
+ purge => true,
+ force => true,
+ notify => Service['nagios'],
+ owner => root,
+ group => root,
+ mode => '0755';
'nagios_main_cfg':
path => "${cfg_dir}/nagios.cfg",
source => ["puppet:///modules/site_nagios/configs/${::fqdn}/nagios.cfg",