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

class sshd::client(
  $shared_ip = 'no',
  $ensure_version = 'installed',
  $manage_shorewall = false
) {

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

  if $manage_shorewall{
    include shorewall::rules::out::ssh
  }
}