]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blame - modules/profile/manifests/known_hosts.pp
Add backup role
[perso/Immae/Projets/Puppet.git] / modules / profile / manifests / known_hosts.pp
CommitLineData
d87a489f
IB
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}