denyhosts init script on debian does not have a status cmd master
authormh <mh@immerda.ch>
Mon, 20 May 2013 16:40:58 +0000 (18:40 +0200)
committermh <mh@immerda.ch>
Mon, 20 May 2013 16:40:58 +0000 (18:40 +0200)
manifests/debian.pp [new file with mode: 0644]
manifests/init.pp

diff --git a/manifests/debian.pp b/manifests/debian.pp
new file mode 100644 (file)
index 0000000..9d8028b
--- /dev/null
@@ -0,0 +1,6 @@
+# init script on debian does not have a status cmd
+class denyhosts::debian inherits denyhosts::base {
+  Service[denyhosts]{
+    hasstatus => false,
+  }
+}
index 0351724..1a4979a 100644 (file)
@@ -17,6 +17,7 @@
 class denyhosts {
   case $::operatingsystem {
     gentoo: { include denyhosts::gentoo }
+    debian: { include denyhosts::debian }
     default: { include denyhosts::base }
   }
 }