diff --git a/Jenkinsfile b/Jenkinsfile index d751080..a72dacc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 ''' } } diff --git a/manifests/params.pp b/manifests/params.pp index 0fce0d9..441809a 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -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 . # @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', ) {