diff options
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 { |