-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
Option to disable service start/stop notifications #143
Comments
|
As far as I know, this module does not support this feature. But you should take a look at class { 'fail2ban':
config_file_hash => {
'sendmail-common.local' => {
config_file_path => '/etc/fail2ban/action.d/sendmail-common.local',
config_file_source => 'puppet:///modules/profile/fail2ban/etc/fail2ban/action.d/sendmail-common.local',
}
}
} |
deric
added a commit
to deric/puppet-fail2ban
that referenced
this issue
Apr 28, 2020
bastelfreak
pushed a commit
that referenced
this issue
Apr 29, 2020
* Support overriding service notifications (#143) * Fix missing newline, remove redundant require * Make sure email notifications are disabled * Check fail2ban client version, workaround for fail2ban older than 0.9 * Fix tests, added missing apply manifest * Add missing notify * Ignore stderr output * Workaround for broken CentOS image * Use head instead of tail * Override LC_ALL * Ignore locale output * Try using stdout
deric
added a commit
to deric/puppet-fail2ban
that referenced
this issue
Apr 29, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Service start/stop notifications are generating too many emails. I don't want to disable email notifications completely, but only on these actions.
Probably the best approach seems to be overriding
actionstartandactionstopdefined in/etc/fail2ban/action.d/sendmail-common.confwith another config/etc/fail2ban/action.d/sendmail-common.local:Or is there some better way supported by this module?
The text was updated successfully, but these errors were encountered: