diff options
author | mh <mh@immerda.ch> | 2009-05-15 13:27:11 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2009-05-15 13:27:11 +0200 |
commit | 783ae21de4cadbd9e8e3cdf62d4b0d6039586d78 (patch) | |
tree | f9612adfd338d6c5d4f1ddf71b2cb917c8b23044 /manifests | |
parent | be3679ae8d0e4547f75829642bc1f86e6402cd96 (diff) |
added possiblity to manage external commands dir
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 1fac008..9557d2e 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -146,6 +146,14 @@ class nagios::base { if $use_munin { include munin::plugins::nagios } + + if $nagios_allow_external_cmd { + file{'/var/spool/nagios/cmd': + ensure => 'directory', + require => Package['nagios'], + owner => apache, group => nagios, mode => 2660; + } + } } # end nagios::base class nagios::centos inherits nagios::base { |