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

Fix action for strech template #72

Merged
merged 1 commit into from
Jul 8, 2018
Merged

Conversation

sileht
Copy link
Contributor

@sileht sileht commented Jul 7, 2018

'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.

}
file { 'defaults-debian.conf':
ensure => absent,
path => "${::fail2ban::config_dir_path}/jail.d/defaults-debian.conf",
Copy link
Member

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.

Copy link
Contributor Author

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]
Copy link
Member

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?

Copy link
Contributor Author

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.
@bastelfreak bastelfreak merged commit 77bf8ca into voxpupuli:master Jul 8, 2018
@bastelfreak bastelfreak added the bug Something isn't working label Jul 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants