aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/common/manifests/export_ssh_keys.pp
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-15 22:55:10 +0000
committerMichael Scherer <misc@mageia.org>2012-03-15 22:55:10 +0000
commit256365022c30c836e6df619d53a9cdbb7814542e (patch)
tree7631a84e7c4d3777f4ef0e2711a5e5b5fe3609ae /deployment/common/manifests/export_ssh_keys.pp
parentd2cc4de6f84d0d83faa7e39fbab0437cb9f7b7df (diff)
downloadpuppet-256365022c30c836e6df619d53a9cdbb7814542e.tar
puppet-256365022c30c836e6df619d53a9cdbb7814542e.tar.gz
puppet-256365022c30c836e6df619d53a9cdbb7814542e.tar.bz2
puppet-256365022c30c836e6df619d53a9cdbb7814542e.tar.xz
puppet-256365022c30c836e6df619d53a9cdbb7814542e.zip
split module common into multiple files
Diffstat (limited to 'deployment/common/manifests/export_ssh_keys.pp')
-rw-r--r--deployment/common/manifests/export_ssh_keys.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/deployment/common/manifests/export_ssh_keys.pp b/deployment/common/manifests/export_ssh_keys.pp
new file mode 100644
index 00000000..55b8f33b
--- /dev/null
+++ b/deployment/common/manifests/export_ssh_keys.pp
@@ -0,0 +1,7 @@
+class common::export_ssh_keys {
+ @@sshkey { $::fqdn:
+ type => 'rsa',
+ key => $::sshrsakey,
+ host_aliases => [$::ipaddress,$::hostname],
+ }
+}