Commit Graph

6 Commits

Author SHA1 Message Date
Javier Bértoli
3e015d6635 Moved main configuration from fail2ban.conf to fail2ban.local
Fail2ban's documentation suggests that modifications to the main configuration be
done in a .local file instead of modificating the main fail2ban.conf file.

If upgrading from a previous version of the module, you will probably end up with both
files having the same content. This is pretty harmless, but can be confusing at first.
Changes to the fail2ban.local file will have precedence over those in fail2ban.conf
so no matter if you previously had a modified fail2ban.conf file, the new values will
be used.

This change modifies the previous behaviour of the module where the main configuration
file was overwritten, but ensures future compatibility with fail2ban.
2013-08-07 17:29:19 -03:00
Javier Bértoli
71e189ec6d Add specs 2013-04-30 06:28:48 -03:00
Javier Bértoli
3bcea81f82 Add template to manage fail2ban.conf (see #1)
Also corrected some tests and documentation
2013-04-29 16:26:21 -03:00
Javier Bértoli
d213d8408c Rewrite jail.local handling through source/content.
Add tests
2013-04-29 13:41:22 -03:00
Javier Bértoli
9a1a8a188a Add rspecs and travis integration 2013-04-27 15:04:40 -03:00
Javier Bértoli
91d96ca835 Initial commit 2013-04-17 14:38:51 -03:00