diff options
-rw-r--r-- | deployment/common/manifests/init.pp | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/deployment/common/manifests/init.pp b/deployment/common/manifests/init.pp index 7929519a..bb815bfe 100644 --- a/deployment/common/manifests/init.pp +++ b/deployment/common/manifests/init.pp @@ -15,24 +15,14 @@ class common { } class export_ssh_keys { - @@sshkey { "$hostname": - type => rsa, - key => $sshrsakey - } - - @@sshkey { "$fqdn": + @@sshkey { ["$hostname","$fqdn","$ipaddress"]: type => rsa, key => $sshrsakey } - - @@sshkey { "$ipaddress": - type => rsa, - key => $sshrsakey - } } class import_ssh_keys { - Sshkey <<| |>> + Sshkey <<| |>> } class default_ssh_root_key { |