summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/debian.pp19
1 files changed, 11 insertions, 8 deletions
diff --git a/manifests/debian.pp b/manifests/debian.pp
index 555cf12..528779c 100644
--- a/manifests/debian.pp
+++ b/manifests/debian.pp
@@ -1,13 +1,16 @@
class sshd::debian inherits sshd::linux {
# the templates for Debian need lsbdistcodename
- include assert_lsbdistcodename
+ include lsb
+ File['sshd_config']{
+ require => Package['lsb']
+ }
- Package[openssh]{
- name => 'openssh-server',
- }
- Service[sshd]{
- name => 'ssh',
- hasstatus => false,
- }
+ Package[openssh]{
+ name => 'openssh-server',
+ }
+ Service[sshd]{
+ name => 'ssh',
+ hasstatus => false,
+ }
}