From 243c4df254610fee26105ac6e16950f132c2d30d Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 9 Feb 2012 11:09:41 +0000 Subject: shorter version of the sshkeys collect, and also remove tabs --- deployment/common/manifests/init.pp | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'deployment/common') 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 { -- cgit v1.2.1