module-sshd/manifests/debian.pp
Michael Moll 7743650cde style fixes
silence puppet-lint
2013-02-03 00:30:54 +01:00

21 lines
418 B
Puppet

class sshd::debian inherits sshd::linux {
# the templates for Debian need lsbdistcodename
require lsb
Package[openssh]{
name => 'openssh-server',
}
$sshd_restartandstatus = $::lsbdistcodename ? {
etch => false,
default => true
}
Service[sshd]{
name => 'ssh',
pattern => 'sshd',
hasstatus => $sshd_restartandstatus,
hasrestart => $sshd_restartandstatus,
}
}