]> gitweb.fluxo.info Git - puppet-sshd.git/commitdiff
added status info
authormh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>
Fri, 11 Apr 2008 13:17:27 +0000 (13:17 +0000)
committermh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>
Fri, 11 Apr 2008 13:17:27 +0000 (13:17 +0000)
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@1198 d66ca3ae-40d7-4aa7-90d4-87d79ca94279

manifests/init.pp

index a7ea3102c83cca3768651cb15f66fcc542bf78db..b040e75987ed12fd9dfcba518a44443cfd1f32e7 100644 (file)
@@ -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 {}