recommit for updates in build 5
This commit is contained in:
@@ -67,10 +67,18 @@
|
||||
<dt>Inherited by:</dt>
|
||||
<dd>
|
||||
|
||||
<span class='object_link'><a href="postgresql_cd_3A_3Amain_3A_3Adirs.html" title="puppet_classes::postgresql_cd::main::dirs (puppet_class)">postgresql_cd::main::dirs</a></span><br/>
|
||||
|
||||
<span class='object_link'><a href="postgresql_cd_3A_3Amain_3A_3Afiles.html" title="puppet_classes::postgresql_cd::main::files (puppet_class)">postgresql_cd::main::files</a></span><br/>
|
||||
|
||||
<span class='object_link'><a href="postgresql_cd_3A_3Amain_3A_3Aconfig.html" title="puppet_classes::postgresql_cd::main::config (puppet_class)">postgresql_cd::main::config</a></span><br/>
|
||||
|
||||
<span class='object_link'><a href="postgresql_cd_3A_3Amain_3A_3Ainstall.html" title="puppet_classes::postgresql_cd::main::install (puppet_class)">postgresql_cd::main::install</a></span><br/>
|
||||
|
||||
<span class='object_link'><a href="postgresql_cd_3A_3Aserver_3A_3Aservice.html" title="puppet_classes::postgresql_cd::server::service (puppet_class)">postgresql_cd::server::service</a></span><br/>
|
||||
|
||||
<span class='object_link'><a href="postgresql_cd_3A_3Afirewall_3A_3Aiptables.html" title="puppet_classes::postgresql_cd::firewall::iptables (puppet_class)">postgresql_cd::firewall::iptables</a></span><br/>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
@@ -170,6 +178,78 @@ client</p>
|
||||
<div class='inline'>
|
||||
<p>which version of the packages to install, i.e. 'latest',
|
||||
'present' '13.20',</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>pl_fw_rule_order</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>String</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'50'</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>the prefix for the firewall rule</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>pl_fw_port</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>String</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'5432'</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>the port to use for service and firewall</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>pl_source_range</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>String</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'0.0.0.0/0'</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>the source range for allowed clients</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>pl_enable_fw</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>Boolean</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>true</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>whether to enable the firewall</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -185,10 +265,6 @@ client</p>
|
||||
<pre class="lines">
|
||||
|
||||
|
||||
12
|
||||
13
|
||||
14
|
||||
15
|
||||
16
|
||||
17
|
||||
18
|
||||
@@ -203,10 +279,22 @@ client</p>
|
||||
27
|
||||
28
|
||||
29
|
||||
30</pre>
|
||||
30
|
||||
31
|
||||
32
|
||||
33
|
||||
34
|
||||
35
|
||||
36
|
||||
37
|
||||
38
|
||||
39
|
||||
40
|
||||
41
|
||||
42</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 12</span>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 16</span>
|
||||
|
||||
class postgresql_cd::params (
|
||||
|
||||
@@ -217,6 +305,11 @@ class postgresql_cd::params (
|
||||
String $reqpackages_client = 'postgresql',
|
||||
String $pkg_ensure = 'latest',
|
||||
|
||||
# firewall
|
||||
String $pl_fw_rule_order = '50',
|
||||
String $pl_fw_port = '5432',
|
||||
String $pl_source_range = '0.0.0.0/0',
|
||||
Boolean $pl_enable_fw = true,
|
||||
|
||||
) {
|
||||
$fqdn = $facts['networking']['fqdn']
|
||||
@@ -224,6 +317,9 @@ class postgresql_cd::params (
|
||||
$os_name = $facts['os']['name']
|
||||
$os_release = $facts['os']['release']['major']
|
||||
|
||||
# Service
|
||||
$pl_service = 'postgresql'
|
||||
|
||||
# includes must be last
|
||||
include postgresql_cd::main::config
|
||||
}</pre>
|
||||
|
||||
Reference in New Issue
Block a user