aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-10-30 22:07:23 +0100
committerMicah Anderson <micah@riseup.net>2009-12-07 16:04:26 -0500
commit384b1466ea7b860f7f17b05281c49fa5a8ebe42a (patch)
tree818d523d2d4f01f92097e12101d1433f41ac8a3f
parentc8e0ef9ede82e50a9606752cb7645749e5b2683e (diff)
downloadpuppet-sshd-384b1466ea7b860f7f17b05281c49fa5a8ebe42a.tar.gz
puppet-sshd-384b1466ea7b860f7f17b05281c49fa5a8ebe42a.tar.bz2
switch to new lsb way
-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,
+ }
}