summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/service/gpgkey.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/service/gpgkey.pp b/manifests/service/gpgkey.pp
index 0c271f4..bea2c57 100644
--- a/manifests/service/gpgkey.pp
+++ b/manifests/service/gpgkey.pp
@@ -8,7 +8,10 @@ define nagios::service::gpgkey(
require ::nagios::plugins::gpg
$gpg_home = $nagios::plugins::gpg::gpg_home
- exec{"manage_key_${name}": }
+ exec{"manage_key_${name}":
+ user => nagios,
+ group => nagios,
+ }
nagios::service{
"check_gpg_${name}":
ensure => $ensure;