Add previously unmanaged directory

Signed-off-by: Nick Chappell <nick@intronic.org>

Merged from: https://github.com/Icinga/puppet-icinga2/pull/39

refs#7673: https://dev.icinga.org/issues/7673
This commit is contained in:
Tom De Vylder 2014-11-06 23:10:09 +01:00 committed by Nick Chappell
parent bda1a2089d
commit 48d5bfb0ce

View file

@ -29,6 +29,16 @@ class icinga2::nrpe::config inherits icinga2::nrpe {
require => Package[$icinga2::params::icinga2_client_packages],
}
file { '/etc/nrpe.d':
ensure => directory,
owner => 'root',
group => 'root',
mode => '0755',
purge => $nrpe_purge_unmanaged,
recurse => true,
require => Package[$icinga2::params::icinga2_client_packages],
}
#File resource for /etc/nagios/nrpe.cfg
file { '/etc/nagios/nrpe.cfg':
ensure => file,