diff options
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index a7ea310..b040e75 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -91,6 +91,7 @@ class sshd::service::base { name => 'sshd', enable => true, ensure => running, + hasstatus => true, require => Package[openssh], } } @@ -98,6 +99,7 @@ class sshd::service::base { class sshd::service::debian inherits sshd::service::base { Service[sshd]{ name => 'ssh', + hasstatus => false, } } class sshd::service::ubuntu inherits sshd::service::debian {} |