module-sshd/manifests/debian.pp

22 lines
403 B
ObjectPascal
Raw Normal View History

2009-09-29 19:53:04 +02:00
class sshd::debian inherits sshd::linux {
# the templates for Debian need lsbdistcodename
require lsb
2009-09-29 19:53:04 +02:00
2009-10-30 22:07:23 +01:00
Package[openssh]{
name => 'openssh-server',
}
$sshd_restartandstatus = $lsbdistcodename ? {
etch => false,
default => true
}
2009-10-30 22:07:23 +01:00
Service[sshd]{
name => 'ssh',
pattern => 'sshd',
hasstatus => $sshd_restartandstatus,
hasrestart => $sshd_restartandstatus,
2009-10-30 22:07:23 +01:00
}
2009-09-29 19:53:04 +02:00
}