aboutsummaryrefslogtreecommitdiff
path: root/modules/profile
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-03-16 20:40:27 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-03-19 16:19:17 +0100
commitd87a489f9585d10f0a185beb59ae16a10f27a7bd (patch)
tree58ff0ffad8cbe0230eff1791360bc7cc45501c34 /modules/profile
parentcfa8eb925ff0115d5d4b2298f7d9a054b869fa75 (diff)
downloadPuppet-d87a489f9585d10f0a185beb59ae16a10f27a7bd.tar.gz
Puppet-d87a489f9585d10f0a185beb59ae16a10f27a7bd.tar.zst
Puppet-d87a489f9585d10f0a185beb59ae16a10f27a7bd.zip
Add backup role
Diffstat (limited to 'modules/profile')
-rw-r--r--modules/profile/manifests/known_hosts.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/profile/manifests/known_hosts.pp b/modules/profile/manifests/known_hosts.pp
new file mode 100644
index 0000000..ed9ec8e
--- /dev/null
+++ b/modules/profile/manifests/known_hosts.pp
@@ -0,0 +1,11 @@
1class profile::known_hosts (
2 Optional[Array] $hosts = []
3) {
4 $hosts.each |$host| {
5 sshkey { $host["name"]:
6 ensure => "present",
7 key => $host["key"],
8 type => $host["type"],
9 }
10 }
11}