diff options
author | Michael Scherer <misc@mageia.org> | 2012-02-09 16:11:23 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-02-09 16:11:23 +0000 |
commit | dc213729557955d8a1fd38c3856ef27e6849c7d7 (patch) | |
tree | 3086f1e05c97af7d1a1d740b07052e2cef4243c3 /deployment/common | |
parent | c1bf591f8c29e31b134f32666d63846f4b3ee1d2 (diff) | |
download | puppet-dc213729557955d8a1fd38c3856ef27e6849c7d7.tar puppet-dc213729557955d8a1fd38c3856ef27e6849c7d7.tar.gz puppet-dc213729557955d8a1fd38c3856ef27e6849c7d7.tar.bz2 puppet-dc213729557955d8a1fd38c3856ef27e6849c7d7.tar.xz puppet-dc213729557955d8a1fd38c3856ef27e6849c7d7.zip |
shorter version of ssh know_hosts
Diffstat (limited to 'deployment/common')
-rw-r--r-- | deployment/common/manifests/init.pp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/deployment/common/manifests/init.pp b/deployment/common/manifests/init.pp index 8371ac0c..c3481250 100644 --- a/deployment/common/manifests/init.pp +++ b/deployment/common/manifests/init.pp @@ -24,9 +24,10 @@ class common { } class export_ssh_keys { - @@sshkey { ["$hostname","$fqdn","$ipaddress"]: - type => rsa, - key => $sshrsakey + @@sshkey { $fqdn: + type => 'rsa', + key => $sshrsakey, + host_aliases => ["$ipaddress","$hostname"], } } |