checking what the parameter does

This commit is contained in:
Arne Teuke
2025-02-14 05:08:00 +01:00
parent c5100a2ca3
commit 87090d5f1a
2 changed files with 4 additions and 21 deletions

4
Jenkinsfile vendored
View File

@@ -87,8 +87,8 @@ pipeline {
/opt/sonar-scanner/bin/sonar-scanner \
-Dsonar.projectKey=cd_fail2ban \
-Dsonar.sources=. \
-Dsonar.host.url=http://sonarqube.confdroid.com \
-Dsonar.login=f4d68d1f43370b34439eee7fbf5e2b6182cf449c
-Dsonar.host.url=https://sonarqube.confdroid.com \
-Dsonar.token=squ_af3fb66bbbcccf239ffe9393a5e70874f054be7a
'''
}
}

View File

@@ -1,23 +1,6 @@
## cd_fail2ban::params.pp
# Module name: cd_fail2ban
# Author: Arne Teuke (arne_teuke@confdroid.com)
# License:
# This file is part of cd_fail2ban.
#
# cd_fail2ban is used for providing automatic configuration of Fail2Ban
# Copyright (C) 2017 confdroid (copyright@confdroid.com)
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# @summary Class holds all parameters for the cd_fail2ban module and is
# inherited by all classes except defines.
# @param [string] pkg_ensure
@@ -130,7 +113,7 @@ $reqpackages = ['fail2ban','fail2ban-firewalld',
'fail2ban-sendmail','fail2ban-server.noarch',
'whois'],
# urls
$fn_extra_repo_url = 'http://repo.okay.com.mx/centos/latest/x86_64/release/okay-release-1-3.el8.noarch.rpm',
#$fn_extra_repo_url = 'http://repo.okay.com.mx/centos/latest/x86_64/release/okay-release-1-3.el8.noarch.rpm',
$fn_manage_config = true,
$fn_enable_service = 'running',
@@ -178,7 +161,7 @@ $fn_action_blocklist_de = 'blocklist_de[email="%(sender)s", service=%(filter
$fn_action_badips = 'badips.py[category="%(__name__)s", banaction="%(banaction)s", agent="%(fail2ban_agent)s"]',
$fn_action_badips_report = 'badips[category="%(__name__)s", agent="%(fail2ban_agent)s"]',
$fn_default_action = 'action_',
$fn_jail_paths = 'fedora'
$fn_jail_paths = 'fedora',
) {