module-sshd/manifests/client.pp

23 lines
431 B
ObjectPascal
Raw Normal View History

# manifests/client.pp
2012-06-05 23:23:03 +02:00
class sshd::client(
2012-06-14 02:52:44 +02:00
$shared_ip = 'no',
$ensure_version = 'installed',
$manage_shorewall = false
2012-06-05 23:23:03 +02:00
) {
2012-06-05 23:23:03 +02:00
case $::operatingsystem {
2010-06-04 04:29:10 +02:00
debian,ubuntu: { include sshd::client::debian }
2009-12-10 23:45:12 +01:00
default: {
2012-06-05 23:23:03 +02:00
case $::kernel {
2009-12-10 23:45:12 +01:00
linux: { include sshd::client::linux }
2009-12-27 20:04:12 +01:00
default: { include sshd::client::base }
2009-12-10 23:45:12 +01:00
}
}
2009-12-10 23:45:12 +01:00
}
2012-06-14 02:52:44 +02:00
if $manage_shorewall{
2009-12-10 23:45:12 +01:00
include shorewall::rules::out::ssh
}
}