aboutsummaryrefslogtreecommitdiff
path: root/manifests/client.pp
blob: c99cf27010e12956835145b40618cff8a574d487 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# manifests/client.pp

class sshd::client(
  $shared_ip = hiera('sshd_shared_ip','no'),
  $ensure_version = hiera('sshd_ensure_version','installed')
) {

  case $::operatingsystem {
    debian,ubuntu: { include sshd::client::debian }
    default: {
      case $::kernel {
        linux: { include sshd::client::linux }
        default: { include sshd::client::base }
      }
    }
  }

  if hiera('use_shorewall',false) {
    include shorewall::rules::out::ssh
  }
}