Repository navigation
Add fail2ban.local config - #270
Open
teluq-pbrideau wants to merge 3 commits into
Open
teluq-pbrideau wants to merge 3 commits into
teluq-pbrideau wants to merge 3 commits into
Conversation
teluq-pbrideau
marked this pull request as draft
November 9, 2026 18:39
teluq-pbrideau
force-pushed
the
feat/fail2ban-config
branch
from
November 9, 2026 18:56
6630bc4 to
8aefc9c
Compare
teluq-pbrideau
force-pushed
the
feat/fail2ban-config
branch
from
November 9, 2026 19:18
8aefc9c to
5527a5f
Compare
teluq-pbrideau
marked this pull request as ready for review
November 9, 2026 19:33
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request (PR) description
Add custom configs to
/etc/fail2ban/fail2ban.local. I copied how the previous configs were managed to be more consistent with this module.But there was two ways to deal with this new functionnality:
config_file_*parameters as-is and have weird parameters name for this new configjailspecific parameters to be more consistent with what the configs areI decided to rename parameters, but it is unfortunately a breaking change...
config_file_path->jail_file_pathconfig_file_template->jail_file_templateIf you want to keep the old parameter as-is, can you please suggest a better parameter name?
Note: I had to use
log_levelas parameter name instead ofloglevel, because it is a puppet metaparam, and the linter did fail. It is a bit inconsistent with the config file, but the best I could think of... Would someone suggest something better?This Pull Request (PR) fixes the following issues
Fixes #262