switch to new lsb way

This commit is contained in:
mh 2009-10-30 22:07:23 +01:00 committed by Micah Anderson
parent c8e0ef9ede
commit 384b1466ea

View file

@ -1,13 +1,16 @@
class sshd::debian inherits sshd::linux { class sshd::debian inherits sshd::linux {
# the templates for Debian need lsbdistcodename # the templates for Debian need lsbdistcodename
include assert_lsbdistcodename include lsb
File['sshd_config']{
require => Package['lsb']
}
Package[openssh]{ Package[openssh]{
name => 'openssh-server', name => 'openssh-server',
} }
Service[sshd]{ Service[sshd]{
name => 'ssh', name => 'ssh',
hasstatus => false, hasstatus => false,
} }
} }