Recommit for updates in build 2
This commit is contained in:
@@ -69,6 +69,8 @@
|
||||
|
||||
<span class='object_link'><a href="confdroid_firewall_3A_3Amain_3A_3Aconfig.html" title="puppet_classes::confdroid_firewall::main::config (puppet_class)">confdroid_firewall::main::config</a></span><br/>
|
||||
|
||||
<span class='object_link'><a href="confdroid_firewall_3A_3Amain_3A_3Ainstall.html" title="puppet_classes::confdroid_firewall::main::install (puppet_class)">confdroid_firewall::main::install</a></span><br/>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
@@ -95,7 +97,49 @@
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<p class="tag_title">Parameters:</p>
|
||||
<ul class="param">
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>fw_req_packages</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>Array</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>['nftables','iptables-nft']</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'><ul><li>
|
||||
<p>List of required packages</p>
|
||||
</li></ul>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>fw_pkg_ensure</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>String</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'present'</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'><ul><li>
|
||||
<p>Ensure state of required packages</p>
|
||||
</li></ul>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
</div><div class="method_details_list">
|
||||
@@ -105,18 +149,26 @@
|
||||
<pre class="lines">
|
||||
|
||||
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
10
|
||||
11</pre>
|
||||
11
|
||||
12
|
||||
13
|
||||
14
|
||||
15
|
||||
16
|
||||
17</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 6</span>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 8</span>
|
||||
|
||||
class confdroid_firewall::params (
|
||||
|
||||
# Installation
|
||||
Array $fw_req_packages = ['nftables','iptables-nft'],
|
||||
String $fw_pkg_ensure = 'present',
|
||||
|
||||
) {
|
||||
# includes must be last in the class to avoid circular dependencies
|
||||
include confdroid_firewall::main::config
|
||||
|
||||
Reference in New Issue
Block a user