OP#483 fix comma
This commit is contained in:
@@ -61,7 +61,7 @@ node 'example.example.net' {
|
|||||||
|
|
||||||
- through Foreman:
|
- through Foreman:
|
||||||
|
|
||||||
In order to apply parameters through Foreman, **__confdroid_fail2ban::params__** must be added to the host or host group in question.
|
In order to apply parameters through Foreman, **confdroid_fail2ban::params** must be added to the host or host group in question.
|
||||||
|
|
||||||
See [more details about class deployment on Confdroid.com](https://confdroid.com/2017/05/deploying-our-puppet-modules/).
|
See [more details about class deployment on Confdroid.com](https://confdroid.com/2017/05/deploying-our-puppet-modules/).
|
||||||
|
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ class confdroid_fail2ban::params (
|
|||||||
|
|
||||||
# jail.conf/local
|
# jail.conf/local
|
||||||
String $fn_ignoreip = '127.0.0.1/8',
|
String $fn_ignoreip = '127.0.0.1/8',
|
||||||
Optional[String] $fn_ignorecommand = '',
|
Optional[String] $fn_ignorecommand = undef,
|
||||||
String $fn_bantime = '600',
|
String $fn_bantime = '600',
|
||||||
String $fn_findtime = '600',
|
String $fn_findtime = '600',
|
||||||
String $fn_maxretry = '5',
|
String $fn_maxretry = '5',
|
||||||
@@ -133,6 +133,7 @@ class confdroid_fail2ban::params (
|
|||||||
Boolean $fn_enabled = false,
|
Boolean $fn_enabled = false,
|
||||||
String $fn_filter = '%(__name__)s',
|
String $fn_filter = '%(__name__)s',
|
||||||
String $fn_destemail = 'root@localhost',
|
String $fn_destemail = 'root@localhost',
|
||||||
|
#String $fn_sender = "fail2ban@${fqdn}",
|
||||||
String $fn_mta = 'sendmail',
|
String $fn_mta = 'sendmail',
|
||||||
String $fn_protocol = 'tcp',
|
String $fn_protocol = 'tcp',
|
||||||
String $fn_chain = 'INPUT',
|
String $fn_chain = 'INPUT',
|
||||||
@@ -143,7 +144,7 @@ class confdroid_fail2ban::params (
|
|||||||
String $fn_action_ = '%(banaction)s[name=%(__name__)s, bantime="%(bantime)s", port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"]',
|
String $fn_action_ = '%(banaction)s[name=%(__name__)s, bantime="%(bantime)s", port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"]',
|
||||||
String $fn_action_mw = '%(banaction)s[name=%(__name__)s, bantime="%(bantime)s", port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"]
|
String $fn_action_mw = '%(banaction)s[name=%(__name__)s, bantime="%(bantime)s", port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"]
|
||||||
%(mta)s-whois[name=%(__name__)s, sender="%(sender)s", dest="%(destemail)s", protocol="%(protocol)s", chain="%(chain)s"]',
|
%(mta)s-whois[name=%(__name__)s, sender="%(sender)s", dest="%(destemail)s", protocol="%(protocol)s", chain="%(chain)s"]',
|
||||||
String $fn_action_mwl = '%(banaction)s[name=%(__name__)s, bantime="%(bantime)s", port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"]'
|
String $fn_action_mwl = '%(banaction)s[name=%(__name__)s, bantime="%(bantime)s", port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"]
|
||||||
%(mta)s-whois-lines[name=%(__name__)s, sender="%(sender)s", dest="%(destemail)s", logpath=%(logpath)s, chain="%(chain)s"]',
|
%(mta)s-whois-lines[name=%(__name__)s, sender="%(sender)s", dest="%(destemail)s", logpath=%(logpath)s, chain="%(chain)s"]',
|
||||||
String $fn_action_xarf = '%(banaction)s[name=%(__name__)s, bantime="%(bantime)s", port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"]
|
String $fn_action_xarf = '%(banaction)s[name=%(__name__)s, bantime="%(bantime)s", port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"]
|
||||||
xarf-login-attack[service=%(__name__)s, sender="%(sender)s", logpath=%(logpath)s, port="%(port)s"]',
|
xarf-login-attack[service=%(__name__)s, sender="%(sender)s", logpath=%(logpath)s, port="%(port)s"]',
|
||||||
|
|||||||
Reference in New Issue
Block a user