Rewrite jail.local handling through source/content.
Add tests
This commit is contained in:
+2
-2
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user