diff options
author | mh <mh@immerda.ch> | 2015-10-12 23:29:30 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2015-10-12 23:29:30 +0200 |
commit | d85a5924b713143426a59ece9df82bba7534e11b (patch) | |
tree | e4d46af107edbd7aca597ff89987c318dcd53fda /manifests | |
parent | bbda7cef0b0d6d68c9d2c393592cbfbef9f3534e (diff) |
ensure we run things with the right user/group
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/service/gpgkey.pp | 5 |
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; |