From dc213729557955d8a1fd38c3856ef27e6849c7d7 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 9 Feb 2012 16:11:23 +0000 Subject: shorter version of ssh know_hosts --- deployment/common/manifests/init.pp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'deployment/common') 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"], } } -- cgit v1.2.1