aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/common
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-02-09 16:11:23 +0000
committerMichael Scherer <misc@mageia.org>2012-02-09 16:11:23 +0000
commitdc213729557955d8a1fd38c3856ef27e6849c7d7 (patch)
tree3086f1e05c97af7d1a1d740b07052e2cef4243c3 /deployment/common
parentc1bf591f8c29e31b134f32666d63846f4b3ee1d2 (diff)
downloadpuppet-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.pp7
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"],
}
}