Recommit for updates in build 6
This commit is contained in:
@@ -77,6 +77,8 @@
|
||||
|
||||
<span class='object_link'><a href="confdroid_fail2ban_3A_3Amain_3A_3Aservice.html" title="puppet_classes::confdroid_fail2ban::main::service (puppet_class)">confdroid_fail2ban::main::service</a></span><br/>
|
||||
|
||||
<span class='object_link'><a href="confdroid_fail2ban_3A_3Amonitoring_3A_3Atarget.html" title="puppet_classes::confdroid_fail2ban::monitoring::target (puppet_class)">confdroid_fail2ban::monitoring::target</a></span><br/>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
@@ -813,6 +815,60 @@
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>the fail path. defaults to fedora.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>fn_incl_target</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>Boolean</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>false</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Whether to include monitoring targets for nagios. If set to true, monitoring targets will be included for the service.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>fn_target_service</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>String</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'/etc/nagios/conf.d/fail2ban_service.cfg'</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>The path to the nagios service configuration file to be created if fn_incl_target is set to true.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>fn_target_contacts</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>String</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'nagiosadmin'</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>The nagios contacts to be notified for the service if fn_incl_target is set to true.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -828,12 +884,6 @@
|
||||
<pre class="lines">
|
||||
|
||||
|
||||
104
|
||||
105
|
||||
106
|
||||
107
|
||||
108
|
||||
109
|
||||
110
|
||||
111
|
||||
112
|
||||
@@ -915,10 +965,21 @@
|
||||
188
|
||||
189
|
||||
190
|
||||
191</pre>
|
||||
191
|
||||
192
|
||||
193
|
||||
194
|
||||
195
|
||||
196
|
||||
197
|
||||
198
|
||||
199
|
||||
200
|
||||
201
|
||||
202</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 104</span>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 110</span>
|
||||
|
||||
class confdroid_fail2ban::params (
|
||||
|
||||
@@ -974,6 +1035,11 @@ class confdroid_fail2ban::params (
|
||||
String $fn_default_action = 'action_',
|
||||
String $fn_jail_paths = 'fedora',
|
||||
|
||||
# nagios
|
||||
Boolean $fn_incl_target = false,
|
||||
String $fn_target_service = '/etc/nagios/conf.d/fail2ban_service.cfg',
|
||||
String $fn_target_contacts = 'nagiosadmin',
|
||||
|
||||
) {
|
||||
# shortcuts
|
||||
$fqdn = $facts['networking']['fqdn']
|
||||
|
||||
Reference in New Issue
Block a user