aboutsummaryrefslogtreecommitdiff
path: root/manifests/client/base.pp
blob: c2580c1f6a30f5a9ff37402af3383a766fbdd991 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class sshd::client::base {
  # this is needed because the gid might have changed
  file { '/etc/ssh/ssh_known_hosts':
    mode => 0644, owner => root, group => 0;
  }

  # Now collect all server keys
  case $sshd::client::shared_ip {
    no:  { Sshkey <<||>> }
    yes: { Sshkey <<| tag == "fqdn" |>> }
  }
}