aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-04-11 13:17:27 +0000
committermh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-04-11 13:17:27 +0000
commit2e38f51bd6eb0b6a83a07dc55fb592848155730f (patch)
tree5c83e92bd8a6ff9494e60279b2064167ce86cffa /manifests
parent71da05e453dac81f3e95230e70c2c5b269b972c6 (diff)
downloadpuppet-sshd-2e38f51bd6eb0b6a83a07dc55fb592848155730f.tar.gz
puppet-sshd-2e38f51bd6eb0b6a83a07dc55fb592848155730f.tar.bz2
added status info
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@1198 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp2
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 {}