diff options
Diffstat (limited to 'manifests/agent/config.pp')
-rw-r--r-- | manifests/agent/config.pp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/manifests/agent/config.pp b/manifests/agent/config.pp index 58e3b1e..b00329b 100644 --- a/manifests/agent/config.pp +++ b/manifests/agent/config.pp @@ -9,6 +9,7 @@ class check_mk::agent::config ( $user, $method = 'xinetd', $generate_sshkey = false, + $sshuser = undef ) { if $use_cache { $server = "${server_dir}/check_mk_caching_agent" @@ -39,15 +40,17 @@ class check_mk::agent::config ( if $authfile { # if authfile is overridden, pass it through check_mk::agent::generate_sshkey { 'check_mk_key': - keydir => $keydir, - authdir => $authdir, - authfile => $authfile + keydir => $keydir, + authdir => $authdir, + authfile => $authfile, + sshuser => $sshuser } } else { # otherwise don't check_mk::agent::generate_sshkey { 'check_mk_key': keydir => $keydir, - authdir => $authdir + authdir => $authdir, + sshuser => $sshuser } } } |