aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"],
}
}