recommit for updates in build 10

This commit is contained in:
Jenkins ConfDroid
2020-06-07 14:41:55 +02:00
parent 4570ae53d9
commit ff469672a0
3 changed files with 79 additions and 12 deletions

View File

@@ -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>[&#39;fail2ban&#39;,&#39;fail2ban-firewalld&#39;,
&#39;fail2ban-sendmail&#39;,&#39;fail2ban-server.noarch&#39;,
&#39;whois&#39;]</tt>)</em>
&mdash;
<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>&#39;http://repo.okay.com.mx/centos/8/x86_64/release/okay-release-1-1.noarch.rpm&#39;</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 = &#39;latest&#39;,
$reqpackages = [&#39;fail2ban&#39;,&#39;fail2ban-firewalld&#39;,
&#39;fail2ban-sendmail&#39;,&#39;fail2ban-server.noarch&#39;,
&#39;whois&#39;],
# urls
$fn_extra_repo_url = &#39;http://repo.okay.com.mx/centos/8/x86_64/release/okay-release-1-1.noarch.rpm&#39;,
$fn_manage_config = true,
$fn_enable_service = &#39;running&#39;,
@@ -1017,13 +1055,6 @@ $fn_default_action = &#39;action_&#39;,
) {
# installation section
$reqpackages = $::operatingsystem ? {
/(?i-mx:centos|fedora|redhat)/ =&gt; [&#39;fail2ban&#39;,&#39;fail2ban-firewalld&#39;,
&#39;fail2ban-sendmail&#39;,
&#39;fail2ban-server.noarch&#39;,&#39;whois&#39;],
}
$fn_jail_paths = $::operatingsystem ? {
/(?i-mx:centos|fedora|redhat)/ =&gt; &#39;fedora&#39;,
}