summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/nrpe/command.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/nrpe/command.pp b/manifests/nrpe/command.pp
index 1da73c8..9c90ed7 100644
--- a/manifests/nrpe/command.pp
+++ b/manifests/nrpe/command.pp
@@ -18,6 +18,12 @@ define nagios::nrpe::command (
require => File [ "$nagios_nrpe_cfgdir/nrpe.d" ]
}
+ if $operatingsystem == 'freebsd' {
+ File["$nagios_nrpe_cfgdir/nrpe.d/${name}_command.cfg"] {
+ group => wheel,
+ }
+ }
+
case $source {
'': {
File["$nagios_nrpe_cfgdir/nrpe.d/${name}_command.cfg"] {