switch to new lsb way
This commit is contained in:
parent
c8e0ef9ede
commit
384b1466ea
1 changed files with 11 additions and 8 deletions
|
@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue