Rewrite jail.local handling through source/content.

Add tests
This commit is contained in:
Javier Bértoli
2013-04-29 13:41:22 -03:00
parent 9a1a8a188a
commit d213d8408c
8 changed files with 86 additions and 68 deletions
+2 -2
View File
@@ -63,8 +63,8 @@ class fail2ban::params {
# Define how you want to manage jails configuration:
# "file" - To provide jails stanzas as a normal file
# "concat" - To build them up using different fragments
# - This option, set as default, permits the use of the fail2ban::jail define
$jails_config = 'concat'
# - This option, preferred, permits the use of the fail2ban::jail define
$jails_config = ''
$jails_file = $::operatingsystem ? {
default => '/etc/fail2ban/jail.local',