From 9b4e0f34791058aca191462399fd791580d30d5e Mon Sep 17 00:00:00 2001 From: mh Date: Mon, 20 May 2013 18:40:58 +0200 Subject: denyhosts init script on debian does not have a status cmd --- manifests/debian.pp | 6 ++++++ manifests/init.pp | 1 + 2 files changed, 7 insertions(+) create mode 100644 manifests/debian.pp 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 } } } -- cgit v1.2.3