aboutsummaryrefslogtreecommitdiff
path: root/manifests/client/base.pp
blob: 1fe2b14ca3a32cfe55633a633a2b7cd1e9b1ac5c (plain)
1
2
3
4
5
6
7
8
9
10
11
class sshd::client::base {
  # this is needed because the gid might have changed
  config_file { '/etc/ssh/ssh_known_hosts':
  }

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