diff options
author | duritong <peter.meier+github@immerda.ch> | 2014-02-01 06:52:23 -0800 |
---|---|---|
committer | duritong <peter.meier+github@immerda.ch> | 2014-02-01 06:52:23 -0800 |
commit | dfc6d99c931ae9cba373903b4f9da94ca7db41c1 (patch) | |
tree | f83dcf203e6d3132a29b7c56974eeb1139112e18 /manifests/debian.pp | |
parent | aee6885940cad29ff4ab7437e89c394bc1c19a46 (diff) | |
parent | bf425e96b1acc9c17b51600aeecd34a1d91b62e7 (diff) | |
download | puppet-sshd-dfc6d99c931ae9cba373903b4f9da94ca7db41c1.tar.gz puppet-sshd-dfc6d99c931ae9cba373903b4f9da94ca7db41c1.tar.bz2 |
Merge pull request #7 from deric/more-tests
More tests
Diffstat (limited to 'manifests/debian.pp')
-rw-r--r-- | manifests/debian.pp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/manifests/debian.pp b/manifests/debian.pp index ced5db7..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, + hasstatus => true, + hasrestart => true, } } |