From 4c3c60335033f624bdf828a91e55e282b79c3217 Mon Sep 17 00:00:00 2001 From: Tom De Vylder Date: Thu, 6 Nov 2014 14:39:20 +0100 Subject: [PATCH] Purge unmanaged files from nrpe.d Signed-off-by: Nick Chappell Merged from: https://github.com/Icinga/puppet-icinga2/pull/39 refs#7673: https://dev.icinga.org/issues/7673 --- manifests/nrpe/config.pp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manifests/nrpe/config.pp b/manifests/nrpe/config.pp index b15885b..d3c8dfb 100644 --- a/manifests/nrpe/config.pp +++ b/manifests/nrpe/config.pp @@ -24,6 +24,8 @@ class icinga2::nrpe::config inherits icinga2::nrpe { owner => 'root', group => 'root', mode => '0755', + purge => true, + recurse => true, require => Package[$icinga2::params::icinga2_client_packages], }