added service control

This commit is contained in:
Arne Teuke
2017-08-03 13:07:42 +01:00
parent dc918f331a
commit 059e16bca6
6 changed files with 106 additions and 4 deletions

View File

@@ -26,7 +26,9 @@
##############################################################################
class cd_fail2ban::params (
$pkg_ensure = 'latest',
$pkg_ensure = 'latest',
$fn_enable_fail2ban = true,
) {
@@ -35,6 +37,9 @@ $reqpackages = $::operatingsystem ? {
/(?i-mx:centos|fedora|redhat)/ => ['fail2ban'],
}
# service
$fn_service
# includes must be last
include cd_fail2ban::main::config