Closed EZtheOG closed 3 years ago
Nice catches
1 Warning | |
---|---|
:warning: | This Pull Request is probably missing tests. |
Generated by :no_entry_sign: Danger
Hey @EZtheOG
If you can get a changelog entry added for these changes we can get them shipped :+1:
Thanks!
@Xorima - pushed Changelog edits. Sorry, didn't see that originally.
Question - Does Priority matter for jails? E.g. 50-somejailname.conf
vs 21-someotherjail.conf
.
If Jails aren't prioritized by some numerical prefix - then I should remove the priority property from fail2ban_jail resource.
What you think?
Released as: 6.3.0
@EZtheOG Thanks for implementing the tickets I created 👍 I just wanted to mention that this PR missed setting the priority in delete action in jail resource, currently its hardcoded to 50 there..
@djessich feel free to create a new PR which addresses that and we'll get it reviewed/merged!
Description
This change fixes the incorrect property values in the two resources
jail
andfilter
. It also adds documentation.One of the things this also does is allows the ability to pass a "priority" to the
jail
resource so that files can be named#{new_resource.priority}-#{new_resource.jail}
. But, I don't think this is needed? I can't find documentation about Fail2Ban setting jails based on priority.Issues Resolved
https://github.com/sous-chefs/fail2ban/issues/60 https://github.com/sous-chefs/fail2ban/issues/61
Check List