diff options
Diffstat (limited to 'manifests/debian.pp')
-rw-r--r-- | manifests/debian.pp | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/manifests/debian.pp b/manifests/debian.pp index 45eb901..d827078 100644 --- a/manifests/debian.pp +++ b/manifests/debian.pp @@ -1,21 +1,13 @@ class sshd::debian inherits sshd::linux { - # the templates for Debian need lsbdistcodename - require lsb - Package[openssh]{ name => 'openssh-server', } - $sshd_restartandstatus = $::lsbdistcodename ? { - etch => false, - default => true - } - Service[sshd]{ - name => 'ssh', - pattern => 'sshd', - hasstatus => $sshd_restartandstatus, - hasrestart => $sshd_restartandstatus, + name => 'ssh', + pattern => 'sshd', + hasstatus => true, + hasrestart => true, } } |