<p><strong>Attention: Never use this puppet module on systems which have been previously configured manually. It is impossible to predict how and what would have been configured, hence previous configurations outside the scope of this module may be overwritten! Automated configurations require a test environment to verify that the module suits the purpose intended by the user, as well as tune the parameters, before deploying into live production</strong></p>
<p>jail.local ( overrides default settings in jail.conf)</p>
</li></ul>
<blockquote>
<p>Every setting in .local files has a parameter in params.pp, which can be overridden in ENC based on fqdn, hostgroup etc. (recommended) or directly in params.pp. Typical parameters to override are:</p>
</blockquote>
<ul><li>
<p><code>fn_destemail</code>: the email address to be notified</p>
</li><li>
<p><code>fn_bantime</code>: the the time an attacker IP is banned.</p>
<p>enable nagios monitoring of the fail2ban service, where the number of minimum allowed processes can be configured with <code>fn_procs_allowed</code>.</p>
<p>Sometimes it is required to have the service on a host stopped for some reason, i.e. for troubleshooting fail2ban. In that case you can simply set <code>fn_enable_service</code>to <code>stopped</code> via ENC.</p>
<p>In order to apply parameters through Foreman, <strong>confdroid_fail2ban::params</strong> must be added to the host or host group in question.</p>
<p>See <ahref="https://confdroid.com/2017/05/deploying-our-puppet-modules/">more details about class deployment on Confdroid.com</a>.</p>
<h2id="label-Parameters">Parameters</h2>
<p>The parameters are documented via puppet strings and <ahref="/docs/index.html">listed here</a>. Simply open in web browser.</p>
<h2id="label-SELINUX">SELINUX</h2>
<p>All files and directories are configured with correct selinux context. If selinux is disabled, these contexts are ignored.</p>
<h2id="label-Known+Problems">Known Problems</h2>
<h2id="label-Support">Support</h2>
<ul><li>
<p>OS: Rocky 9</p>
</li><li>
<p>Puppet 8</p>
</li></ul>
<h2id="label-Tests">Tests</h2>
<ul><li>
<p>Puppet Lint</p>
</li><li>
<p>excluded tests:</p>
<ul><li>
<p><code>--no-variable_scope-check</code>: not applicable as we are inheriting parameters from params class. the lint check does not distinguish between facts and inherited parameters.</p>
<p>ConfDroid as entity is entirely independent from Puppet. We provide custom configuration modules, written for specific purposes and specific environments. The modules are tested and supported only as documented, and require testing in designated environments (i.e. lab or development environments) for parameter tuning etc. before deploying into production environments.</p>
</div></div>
<divid="footer">
Generated by <ahref="http://yardoc.org"title="Yay! A Ruby Documentation Tool"target="_parent">yard</a>.