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