diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index bfa4d45..a039ae4 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -213,8 +213,8 @@ class backup( backupkeystore => "puppet:///pubkeys", } - if !defined(Ssh_local_key['backup']) { - ssh_local_key { 'backup': + if !defined(Ssh_local_key["$hostname"]) { + ssh_local_key { "$hostname": owner => root, group => root, home => '/root', @@ -254,8 +254,8 @@ class backup( testconnect => 'yes', } - if !defined(Ssh_local_key['backup']) { - ssh_local_key { 'backup': + if !defined(Ssh_local_key["$hostname"]) { + ssh_local_key { "$hostname": owner => root, group => root, home => '/root', |