Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for journalmatch #95

Merged
merged 4 commits into from
Nov 3, 2018
Merged

Conversation

cwells
Copy link
Contributor

@cwells cwells commented Nov 2, 2018

Pull Request (PR) description

Adds support for journalmatch

This Pull Request (PR) fixes the following issues

Using systemd backend requires setting journalmatch.

@@ -1,6 +1,11 @@
# Fail2ban custom filter
# Managed by Puppet

[Init]
<% if $journalmatch { -%>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we include the [Init] within the if statement? And is the first I really capitalized?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "I" is capitalized in the files that come in the RPM. The [Init] can contain more than $journalmatch, so probably shouldn't be tied together. There should be no issues with having an empty section in the config in case $journalmatch isn't defined.

@bastelfreak bastelfreak added the enhancement New feature or request label Nov 3, 2018
@bastelfreak
Copy link
Member

Thanks!

@bastelfreak bastelfreak merged commit 3893ba2 into voxpupuli:master Nov 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants