aboutsummaryrefslogtreecommitdiff
path: root/modules/profile/manifests/known_hosts.pp
blob: ed9ec8ede88220ec53557249b27cf07f234e3571 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
class profile::known_hosts (
  Optional[Array]  $hosts = []
) {
  $hosts.each |$host| {
    sshkey { $host["name"]:
      ensure => "present",
      key    => $host["key"],
      type   => $host["type"],
    }
  }
}