recommit for updates in build 10
This commit is contained in:
10
CHANGELOG.md
10
CHANGELOG.md
@@ -8,6 +8,16 @@ Changelog of Git Changelog.
|
||||
<h2> No issue </h2>
|
||||
|
||||
|
||||
<a href="https://gitlab.confdroid.com/12WW1160/git-changelog-lib/commit/35043067cf4420c">35043067cf4420c</a> Jenkins ConfDroid <i>2019-04-10 18:43:58</i>
|
||||
<p>
|
||||
<h3>recommit for updates in build 4</h3>
|
||||
|
||||
</p>
|
||||
<a href="https://gitlab.confdroid.com/12WW1160/git-changelog-lib/commit/3cb35499148764f">3cb35499148764f</a> Arne Teuke <i>2019-04-10 18:43:25</i>
|
||||
<p>
|
||||
<h3>removes firewall control</h3>
|
||||
|
||||
</p>
|
||||
<a href="https://gitlab.confdroid.com/12WW1160/git-changelog-lib/commit/85bf9610f328a1b">85bf9610f328a1b</a> Jenkins ConfDroid <i>2019-04-10 18:21:34</i>
|
||||
<p>
|
||||
<h3>recommit for updates in build 3</h3>
|
||||
|
||||
@@ -126,7 +126,20 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
30
|
||||
31
|
||||
32
|
||||
33</pre>
|
||||
33
|
||||
34
|
||||
35
|
||||
36
|
||||
37
|
||||
38
|
||||
39
|
||||
40
|
||||
41
|
||||
42
|
||||
43
|
||||
44
|
||||
45
|
||||
46</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/main/install.pp', line 24</span>
|
||||
@@ -137,9 +150,22 @@ class cd_fail2ban::main::install (
|
||||
|
||||
require cd_resources
|
||||
|
||||
if $::operatingsystemmajrelease != '8' {
|
||||
package {$reqpackages:
|
||||
ensure => $pkg_ensure,
|
||||
}
|
||||
}
|
||||
|
||||
if $::operatingsystemmajrelease == '8' {
|
||||
package {$fn_extra_repo_url:
|
||||
ensure => present,
|
||||
}
|
||||
|
||||
package {$reqpackages:
|
||||
ensure => $pkg_ensure,
|
||||
require => Package[$fn_extra_repo_url],
|
||||
}
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -145,6 +145,26 @@ type</a> to choose, i.e. <code>latest</code> or <code>present</code>.</p>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>reqpackages</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>array</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>['fail2ban','fail2ban-firewalld',
|
||||
'fail2ban-sendmail','fail2ban-server.noarch',
|
||||
'whois']</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>the packages to install.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>fn_manage_config</span>
|
||||
@@ -837,6 +857,19 @@ log lines.</p>
|
||||
<p>Choose default action.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>fn_extra_repo_url</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>Any</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'http://repo.okay.com.mx/centos/8/x86_64/release/okay-release-1-1.noarch.rpm'</tt>)</em>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
@@ -862,7 +895,6 @@ log lines.</p>
|
||||
<pre class="lines">
|
||||
|
||||
|
||||
121
|
||||
122
|
||||
123
|
||||
124
|
||||
@@ -961,11 +993,17 @@ log lines.</p>
|
||||
217</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 121</span>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 122</span>
|
||||
|
||||
class cd_fail2ban::params (
|
||||
|
||||
# installation
|
||||
$pkg_ensure = 'latest',
|
||||
$reqpackages = ['fail2ban','fail2ban-firewalld',
|
||||
'fail2ban-sendmail','fail2ban-server.noarch',
|
||||
'whois'],
|
||||
# urls
|
||||
$fn_extra_repo_url = 'http://repo.okay.com.mx/centos/8/x86_64/release/okay-release-1-1.noarch.rpm',
|
||||
|
||||
$fn_manage_config = true,
|
||||
$fn_enable_service = 'running',
|
||||
@@ -1017,13 +1055,6 @@ $fn_default_action = 'action_',
|
||||
|
||||
) {
|
||||
|
||||
# installation section
|
||||
$reqpackages = $::operatingsystem ? {
|
||||
/(?i-mx:centos|fedora|redhat)/ => ['fail2ban','fail2ban-firewalld',
|
||||
'fail2ban-sendmail',
|
||||
'fail2ban-server.noarch','whois'],
|
||||
}
|
||||
|
||||
$fn_jail_paths = $::operatingsystem ? {
|
||||
/(?i-mx:centos|fedora|redhat)/ => 'fedora',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user