2009-09-29 19:53:04 +02:00
|
|
|
class sshd::debian inherits sshd::linux {
|
|
|
|
|
|
|
|
# the templates for Debian need lsbdistcodename
|
2009-10-30 22:07:23 +01:00
|
|
|
include lsb
|
|
|
|
File['sshd_config']{
|
|
|
|
require => Package['lsb']
|
|
|
|
}
|
2009-09-29 19:53:04 +02:00
|
|
|
|
2009-10-30 22:07:23 +01:00
|
|
|
Package[openssh]{
|
|
|
|
name => 'openssh-server',
|
|
|
|
}
|
|
|
|
Service[sshd]{
|
|
|
|
name => 'ssh',
|
|
|
|
hasstatus => false,
|
|
|
|
}
|
2009-09-29 19:53:04 +02:00
|
|
|
}
|