aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp9
1 files changed, 8 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 02f5e45..d4d775f 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -253,10 +253,17 @@ class sshd::debian inherits sshd::linux {
Package[openssh]{
name => 'openssh-server',
}
+
+ $ssh_hasrestart = $debian_version ? {
+ etch => false,
+ lenny => true,
+ default => false
+ }
+
Service[sshd]{
name => 'ssh',
hasstatus => true,
- hasrestart => true,
+ hasrestart => $ssh_hasrestart,
}
}
class sshd::ubuntu inherits sshd::debian {}