diff options
author | Matt Taggart <taggart@riseup.net> | 2014-05-05 13:00:49 -0700 |
---|---|---|
committer | Matt Taggart <taggart@riseup.net> | 2015-04-16 21:08:50 +0000 |
commit | 133c87b0f3a85ccb4aafd16fef0fa68348a559c1 (patch) | |
tree | b15c58be728edbfb725f0a6994ec2b6471bfa954 /manifests | |
parent | ec8169eadc16fde4a8019b67f4966d2b119cb765 (diff) |
make resource name unique per host to ensure no collisions
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/agent/config.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/agent/config.pp b/manifests/agent/config.pp index b00329b..934a05f 100644 --- a/manifests/agent/config.pp +++ b/manifests/agent/config.pp @@ -39,7 +39,7 @@ class check_mk::agent::config ( if $generate_sshkey { if $authfile { # if authfile is overridden, pass it through - check_mk::agent::generate_sshkey { 'check_mk_key': + check_mk::agent::generate_sshkey { "check_mk_key_${::fqdn}": keydir => $keydir, authdir => $authdir, authfile => $authfile, @@ -47,7 +47,7 @@ class check_mk::agent::config ( } } else { # otherwise don't - check_mk::agent::generate_sshkey { 'check_mk_key': + check_mk::agent::generate_sshkey { "check_mk_key_${::fqdn}": keydir => $keydir, authdir => $authdir, sshuser => $sshuser |