summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-05-20 18:40:58 +0200
committermh <mh@immerda.ch>2013-05-20 18:40:58 +0200
commit9b4e0f34791058aca191462399fd791580d30d5e (patch)
treecc1931b46b6d5d5b4774dde485013356d58ca890
parentad96c948e682682e3dfafbe7a20493e3bb3ba470 (diff)
denyhosts init script on debian does not have a status cmdHEADmaster
-rw-r--r--manifests/debian.pp6
-rw-r--r--manifests/init.pp1
2 files changed, 7 insertions, 0 deletions
diff --git a/manifests/debian.pp b/manifests/debian.pp
new file mode 100644
index 0000000..9d8028b
--- /dev/null
+++ b/manifests/debian.pp
@@ -0,0 +1,6 @@
+# init script on debian does not have a status cmd
+class denyhosts::debian inherits denyhosts::base {
+ Service[denyhosts]{
+ hasstatus => false,
+ }
+}
diff --git a/manifests/init.pp b/manifests/init.pp
index 0351724..1a4979a 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -17,6 +17,7 @@
class denyhosts {
case $::operatingsystem {
gentoo: { include denyhosts::gentoo }
+ debian: { include denyhosts::debian }
default: { include denyhosts::base }
}
}