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

class sshd::client {

  case $sshd_shared_ip {
    '': { $sshd_shared_ip = "no" }
  }

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

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

}