-
-
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
Fix action for strech template #72
Conversation
manifests/config.pp
Outdated
| } | ||
| file { 'defaults-debian.conf': | ||
| ensure => absent, | ||
| path => "${::fail2ban::config_dir_path}/jail.d/defaults-debian.conf", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please don't add the leading ::. they are not needed anymore since we don't support Puppet 3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
| @@ -135,7 +135,7 @@ action_mwl = %(banaction)s[name=%(__name__)s, port="%(port)s", protocol="%(proto | |||
| # Optionally you may override any other parameter (e.g. banaction, | |||
| # action, port, logpath, etc) in that section within jail.local | |||
|
|
|||
| [ssh] | |||
| [sshd] | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it possible that it is named ssh on some platforms and sshd on others?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so, at least on Debian based packages upstream jail.conf is used and upstream uses [sshd].
'action' is not working on debian strech. This change fixes it. This change also remove the default configuration of all Debian setup, not only Ubuntu 16.04.
'action' is not working on debian strech.
This change fixes it.
This change also remove the default configuration of all Debian setup,
not only Ubuntu 16.04.