diff options
-rw-r--r-- | manifests/debian.pp | 6 | ||||
-rw-r--r-- | manifests/init.pp | 1 |
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 } } } |