3
0

Recommit for updates in build 11

This commit is contained in:
2025-12-05 14:24:23 +01:00
parent 9062323222
commit 6621a252f3
21 changed files with 815 additions and 33 deletions

View File

@@ -73,6 +73,16 @@
</li>
<li>
<span class='object_link'><a href="puppet_classes/confdroid_postgresql_3A_3Abouncer_3A_3Abouncer.html" title="puppet_classes::confdroid_postgresql::bouncer::bouncer (puppet_class)">confdroid_postgresql::bouncer::bouncer</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_classes/confdroid_postgresql_3A_3Abouncer_3A_3Aservice.html" title="puppet_classes::confdroid_postgresql::bouncer::service (puppet_class)">confdroid_postgresql::bouncer::service</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_classes/confdroid_postgresql_3A_3Aexporter_3A_3Adirs.html" title="puppet_classes::confdroid_postgresql::exporter::dirs (puppet_class)">confdroid_postgresql::exporter::dirs</a></span>
@@ -154,6 +164,11 @@
<li class="letter">C</li>
<ul>
<li>
<span class='object_link'><a href="puppet_defined_types/confdroid_postgresql_3A_3Abouncer_3A_3Abouncer_rule.html" title="puppet_defined_types::confdroid_postgresql::bouncer::bouncer_rule (puppet_defined_type)">confdroid_postgresql::bouncer::bouncer_rule</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_defined_types/confdroid_postgresql_3A_3Aserver_3A_3Adatabases_3A_3Adb_df.html" title="puppet_defined_types::confdroid_postgresql::server::databases::db_df (puppet_defined_type)">confdroid_postgresql::server::databases::db_df</a></span>

View File

@@ -47,6 +47,20 @@
</li>
<li id="object_puppet_classes::confdroid_postgresql::bouncer::bouncer" class="even">
<div class="item">
<span class='object_link'><a href="puppet_classes/confdroid_postgresql_3A_3Abouncer_3A_3Abouncer.html" title="puppet_classes::confdroid_postgresql::bouncer::bouncer (puppet_class)">confdroid_postgresql::bouncer::bouncer</a></span>
</div>
</li>
<li id="object_puppet_classes::confdroid_postgresql::bouncer::service" class="odd">
<div class="item">
<span class='object_link'><a href="puppet_classes/confdroid_postgresql_3A_3Abouncer_3A_3Aservice.html" title="puppet_classes::confdroid_postgresql::bouncer::service (puppet_class)">confdroid_postgresql::bouncer::service</a></span>
</div>
</li>
<li id="object_puppet_classes::confdroid_postgresql::exporter::dirs" class="even">
<div class="item">
<span class='object_link'><a href="puppet_classes/confdroid_postgresql_3A_3Aexporter_3A_3Adirs.html" title="puppet_classes::confdroid_postgresql::exporter::dirs (puppet_class)">confdroid_postgresql::exporter::dirs</a></span>

View File

@@ -78,7 +78,7 @@
<div class="docstring">
<div class="discussion">
<p>confdroid_postgresql::init.pp Module name: confdroid_postgresql Author: Arne Teuke (arne_teuke@confdroid.com)</p>
<p>confdroid_postgresql::init.pp Module name: confdroid_postgresql Author: 12ww1160 (12ww1160@confdroid.com)</p>
</div>
</div>

View File

@@ -0,0 +1,208 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Puppet Class: confdroid_postgresql::bouncer::bouncer
&mdash; Documentation by YARD 0.9.36
</title>
<link rel="stylesheet" href="../css/style.css" type="text/css" />
<link rel="stylesheet" href="../css/common.css" type="text/css" />
<script type="text/javascript">
pathId = "puppet_classes::confdroid_postgresql::bouncer::bouncer";
relpath = '../';
</script>
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
</head>
<body>
<div class="nav_wrap">
<iframe id="nav" src="../puppet_class_list.html?1"></iframe>
<div id="resizer"></div>
</div>
<div id="main" tabindex="-1">
<div id="header">
<div id="menu">
<a href="../_index.html">Index (c)</a> &raquo;
<span class='title'><span class='object_link'>Puppet Classes</span></span>
&raquo;
<span class="title">confdroid_postgresql::bouncer::bouncer</span>
</div>
<div id="search">
<a class="full_list_link" id="puppet_class_list_link"
href="../puppet_class_list.html">
<svg width="24" height="24">
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
</svg>
</a>
</div>
<div class="clear"></div>
</div>
<div id="content"><h1>Puppet Class: confdroid_postgresql::bouncer::bouncer</h1>
<div class="box_info">
<dl>
<dt>Inherits:</dt>
<dd><span class='object_link'><a href="confdroid_postgresql_3A_3Aparams.html" title="puppet_classes::confdroid_postgresql::params (puppet_class)">confdroid_postgresql::params</a></span></dd>
</dl>
<dl>
<dt>Defined in:</dt>
<dd>
manifests/bouncer/bouncer.pp
</dd>
</dl>
</div>
<h2>Summary</h2>
Class manages the pgbouncer service
<h2>Overview</h2>
<div class="docstring">
<div class="discussion">
<p>confdroid_postgresql::bouncer::bouncer.pp Module name: confdroid_postgresql Author: 12ww1160 (12ww1160@confdroid.com)</p>
</div>
</div>
<div class="tags">
</div><div class="method_details_list">
<table class="source_code">
<tr>
<td>
<pre class="lines">
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/bouncer/bouncer.pp', line 6</span>
class confdroid_postgresql::bouncer::bouncer (
) inherits confdroid_postgresql::params {
if ($fqdn == $pl_server_fqdn) and ($pl_use_pg_bouncer == true) {
# ensure directory exists
file { $pl_bouncer_dir:
ensure =&gt; directory,
owner =&gt; &#39;root&#39;,
group =&gt; &#39;root&#39;,
mode =&gt; &#39;0750&#39;,
selrange =&gt; s0,
selrole =&gt; object_r,
seltype =&gt; etc_t,
seluser =&gt; system_u,
}
# create auth user file to be populated through placeholder
file { $pl_bouncer_auth_file:
ensure =&gt; file,
owner =&gt; &#39;pgbouncer&#39;,
group =&gt; &#39;pgbouncer&#39;,
mode =&gt; &#39;0440&#39;,
selrange =&gt; s0,
selrole =&gt; object_r,
seltype =&gt; etc_t,
seluser =&gt; system_u,
content =&gt; template($pl_bouncer_auth_erb),
}
# create the pgbouncer.ini file
concat { $pl_bouncer_ini_file:
ensure =&gt; present,
owner =&gt; &#39;pgbouncer&#39;,
mode =&gt; &#39;0600&#39;,
#notify =&gt; Service[$pl_service],
}
# manage file header
concat::fragment { &#39;header&#39;:
target =&gt; $pl_bouncer_ini_file,
content =&gt; template($pl_bouncer_ini_erb),
order =&gt; &#39;000&#39;,
}
}
}</pre>
</td>
</tr>
</table>
</div>
</div>
<div id="footer">
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,146 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Puppet Class: confdroid_postgresql::bouncer::service
&mdash; Documentation by YARD 0.9.36
</title>
<link rel="stylesheet" href="../css/style.css" type="text/css" />
<link rel="stylesheet" href="../css/common.css" type="text/css" />
<script type="text/javascript">
pathId = "puppet_classes::confdroid_postgresql::bouncer::service";
relpath = '../';
</script>
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
</head>
<body>
<div class="nav_wrap">
<iframe id="nav" src="../puppet_class_list.html?1"></iframe>
<div id="resizer"></div>
</div>
<div id="main" tabindex="-1">
<div id="header">
<div id="menu">
<a href="../_index.html">Index (c)</a> &raquo;
<span class='title'><span class='object_link'>Puppet Classes</span></span>
&raquo;
<span class="title">confdroid_postgresql::bouncer::service</span>
</div>
<div id="search">
<a class="full_list_link" id="puppet_class_list_link"
href="../puppet_class_list.html">
<svg width="24" height="24">
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
</svg>
</a>
</div>
<div class="clear"></div>
</div>
<div id="content"><h1>Puppet Class: confdroid_postgresql::bouncer::service</h1>
<div class="box_info">
<dl>
<dt>Inherits:</dt>
<dd><span class='object_link'><a href="confdroid_postgresql_3A_3Aparams.html" title="puppet_classes::confdroid_postgresql::params (puppet_class)">confdroid_postgresql::params</a></span></dd>
</dl>
<dl>
<dt>Defined in:</dt>
<dd>
manifests/bouncer/service.pp
</dd>
</dl>
</div>
<h2>Summary</h2>
Class manages the pgbouncer service
<h2>Overview</h2>
<div class="docstring">
<div class="discussion">
<p>confdroid_postgresql::bouncer::service.pp Module name: confdroid_postgresql Author: 12ww1160 (12ww1160@confdroid.com)</p>
</div>
</div>
<div class="tags">
</div><div class="method_details_list">
<table class="source_code">
<tr>
<td>
<pre class="lines">
6
7
8
9
10
11
12
13
14
15
16
17
18</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/bouncer/service.pp', line 6</span>
class confdroid_postgresql::bouncer::service (
) inherits confdroid_postgresql::params {
if ($fqdn == $pl_server_fqdn) and ($pl_use_pg_bouncer == true) {
require confdroid_postgresql::bouncer::bouncer
service { $pl_bouncer_service:
ensure =&gt; running,
hasstatus =&gt; true,
hasrestart =&gt; true,
enable =&gt; true,
}
}
}</pre>
</td>
</tr>
</table>
</div>
</div>
<div id="footer">
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
</div>
</div>
</body>
</html>

View File

@@ -83,7 +83,7 @@
<div class="docstring">
<div class="discussion">
<p>confdroid_postgresql::exporter::dirs.pp Module name: confdroid_postgresql Author: Arne Teuke (arne_teuke@confdroid.com)</p>
<p>confdroid_postgresql::exporter::dirs.pp Module name: confdroid_postgresql Author: 12ww1160 (12ww1160@confdroid.com)</p>
</div>
</div>

View File

@@ -83,7 +83,7 @@
<div class="docstring">
<div class="discussion">
<p>confdroid_postgresql::exporter::files.pp Module name: confdroid_postgresql Author: Arne Teuke (arne_teuke@confdroid.com)</p>
<p>confdroid_postgresql::exporter::files.pp Module name: confdroid_postgresql Author: 12ww1160 (12ww1160@confdroid.com)</p>
</div>
</div>

View File

@@ -83,7 +83,7 @@
<div class="docstring">
<div class="discussion">
<p>confdroid_postgresql::exporter::service.pp Module name: confdroid_postgresql Author: Arne Teuke (arne_teuke@confdroid.com)</p>
<p>confdroid_postgresql::exporter::service.pp Module name: confdroid_postgresql Author: 12ww1160 (12ww1160@confdroid.com)</p>
</div>
</div>

View File

@@ -83,7 +83,7 @@
<div class="docstring">
<div class="discussion">
<p>confdroid_postgresql::firewall::iptables.pp Module name: confdroid_postgresql Author: Arne Teuke (arne_teuke@confdroid.com)</p>
<p>confdroid_postgresql::firewall::iptables.pp Module name: confdroid_postgresql Author: 12ww1160 (12ww1160@confdroid.com)</p>
</div>
</div>

View File

@@ -83,7 +83,7 @@
<div class="docstring">
<div class="discussion">
<p>confdroid_postgresql::main::config.pp Module name: confdroid_postgresql Author: Arne Teuke (arne_teuke@confdroid.com)</p>
<p>confdroid_postgresql::main::config.pp Module name: confdroid_postgresql Author: 12ww1160 (12ww1160@confdroid.com)</p>
</div>
</div>
@@ -112,7 +112,10 @@
14
15
16
17</pre>
17
18
19
20</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/main/config.pp', line 6</span>
@@ -120,13 +123,16 @@
class confdroid_postgresql::main::config (
) inherits confdroid_postgresql::params {
include confdroid_postgresql::main::install
require confdroid_postgresql::main::install
if $fqdn == $pl_server_fqdn {
include confdroid_postgresql::server::service
# if $pl_use_exporter == true {
# include confdroid_postgresql::exporter::service
# }
if $pl_use_pg_bouncer == true {
include confdroid_postgresql::bouncer::service
}
}
}</pre>
</td>

View File

@@ -83,7 +83,7 @@
<div class="docstring">
<div class="discussion">
<p>confdroid_postgresql::main::dirs.pp Module name: confdroid_postgresql Author: Arne Teuke (arne_teuke@confdroid.com)</p>
<p>confdroid_postgresql::main::dirs.pp Module name: confdroid_postgresql Author: 12ww1160 (12ww1160@confdroid.com)</p>
</div>
</div>

View File

@@ -83,7 +83,7 @@
<div class="docstring">
<div class="discussion">
<p>confdroid_postgresql::main::files.pp Module name: confdroid_postgresql Author: Arne Teuke (arne_teuke@confdroid.com)</p>
<p>confdroid_postgresql::main::files.pp Module name: confdroid_postgresql Author: 12ww1160 (12ww1160@confdroid.com)</p>
</div>
</div>

View File

@@ -83,7 +83,7 @@
<div class="docstring">
<div class="discussion">
<p>confdroid_postgresql::main::install.pp Module name: confdroid_postgresql Author: Arne Teuke (arne_teuke@confdroid.com)</p>
<p>confdroid_postgresql::main::install.pp Module name: confdroid_postgresql Author: 12ww1160 (12ww1160@confdroid.com)</p>
</div>
</div>

View File

@@ -83,6 +83,10 @@
<span class='object_link'><a href="confdroid_postgresql_3A_3Aserver_3A_3Aservice.html" title="puppet_classes::confdroid_postgresql::server::service (puppet_class)">confdroid_postgresql::server::service</a></span><br/>
<span class='object_link'><a href="confdroid_postgresql_3A_3Abouncer_3A_3Abouncer.html" title="puppet_classes::confdroid_postgresql::bouncer::bouncer (puppet_class)">confdroid_postgresql::bouncer::bouncer</a></span><br/>
<span class='object_link'><a href="confdroid_postgresql_3A_3Abouncer_3A_3Aservice.html" title="puppet_classes::confdroid_postgresql::bouncer::service (puppet_class)">confdroid_postgresql::bouncer::service</a></span><br/>
<span class='object_link'><a href="confdroid_postgresql_3A_3Aexporter_3A_3Aservice.html" title="puppet_classes::confdroid_postgresql::exporter::service (puppet_class)">confdroid_postgresql::exporter::service</a></span><br/>
<span class='object_link'><a href="confdroid_postgresql_3A_3Afirewall_3A_3Aiptables.html" title="puppet_classes::confdroid_postgresql::firewall::iptables (puppet_class)">confdroid_postgresql::firewall::iptables</a></span><br/>
@@ -107,7 +111,7 @@
<div class="docstring">
<div class="discussion">
<p>confdroid_postgresql::params.pp Module name: confdroid_postgresql Author: Arne Teuke (arne_teuke@confdroid.com)</p>
<p>confdroid_postgresql::params.pp Module name: confdroid_postgresql Author: 12ww1160 (12ww1160@confdroid.com)</p>
</div>
</div>
@@ -190,6 +194,24 @@
</li>
<li>
<span class='name'>reqpackages_bouncer</span>
<span class='type'>(<tt>String</tt>)</span>
<em class="default">(defaults to: <tt>&#39;pgbouncer&#39;</tt>)</em>
&mdash;
<div class='inline'>
<p>the packages for the bouncer</p>
</div>
</li>
<li>
<span class='name'>pkg_ensure</span>
@@ -516,15 +538,128 @@
<li>
<span class='name'>reqpackages_bouncer</span>
<span class='name'>pl_bouncer_listen_addr</span>
<span class='type'>(<tt>String</tt>)</span>
<em class="default">(defaults to: <tt>&#39;pgbouncer&#39;</tt>)</em>
<em class="default">(defaults to: <tt>&#39;0.0.0.0&#39;</tt>)</em>
&mdash;
<div class='inline'>
<p>bouncer listen address</p>
</div>
</li>
<li>
<span class='name'>pl_bouncer_port</span>
<span class='type'>(<tt>String</tt>)</span>
<em class="default">(defaults to: <tt>&#39;6432&#39;</tt>)</em>
&mdash;
<div class='inline'>
<p>bouncer listen port</p>
</div>
</li>
<li>
<span class='name'>pl_bouncer_auth_mode</span>
<span class='type'>(<tt>String</tt>)</span>
<em class="default">(defaults to: <tt>&#39;md5&#39;</tt>)</em>
&mdash;
<div class='inline'>
<p>bouncer auth mode</p>
</div>
</li>
<li>
<span class='name'>pl_bouncer_auth_users</span>
<span class='type'>(<tt>String</tt>)</span>
<em class="default">(defaults to: <tt>&#39;placeholder&#39;</tt>)</em>
&mdash;
<div class='inline'>
<p>placeholder for users</p>
</div>
</li>
<li>
<span class='name'>pl_bouncer_pool_mode</span>
<span class='type'>(<tt>String</tt>)</span>
<em class="default">(defaults to: <tt>&#39;transaction&#39;</tt>)</em>
&mdash;
<div class='inline'>
<p>bouncer pool mode</p>
</div>
</li>
<li>
<span class='name'>pl_bouncer_mx_cl_conn</span>
<span class='type'>(<tt>String</tt>)</span>
<em class="default">(defaults to: <tt>&#39;100&#39;</tt>)</em>
&mdash;
<div class='inline'>
<p>bouncer max client connections</p>
</div>
</li>
<li>
<span class='name'>pl_bouncer_pool_size</span>
<span class='type'>(<tt>String</tt>)</span>
<em class="default">(defaults to: <tt>&#39;20&#39;</tt>)</em>
&mdash;
<div class='inline'>
<p>bouncer default pool size</p>
</div>
</li>
</ul>
@@ -538,14 +673,6 @@
<pre class="lines">
30
31
32
33
34
35
36
37
38
39
40
@@ -594,10 +721,31 @@
83
84
85
86</pre>
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 30</span>
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 38</span>
class confdroid_postgresql::params (
@@ -634,6 +782,13 @@ class confdroid_postgresql::params (
# pg bouncer
Boolean $pl_use_pg_bouncer = false,
String $pl_bouncer_listen_addr = &#39;0.0.0.0&#39;,
String $pl_bouncer_port = &#39;6432&#39;,
String $pl_bouncer_auth_mode = &#39;md5&#39;,
String $pl_bouncer_auth_users = &#39;placeholder&#39;,
String $pl_bouncer_pool_mode = &#39;transaction&#39;,
String $pl_bouncer_mx_cl_conn = &#39;100&#39;,
String $pl_bouncer_pool_size = &#39;20&#39;,
) {
$fqdn = $facts[&#39;networking&#39;][&#39;fqdn&#39;]
@@ -643,15 +798,21 @@ class confdroid_postgresql::params (
# Directories
$pl_data_dir = &#39;/var/lib/pgsql/data/&#39;
$pl_bouncer_dir = &#39;/etc/pgbouncer&#39;
# files
$pl_pg_hba_conf = &quot;${pl_data_dir}/pg_hba.conf&quot;
$pl_pg_hba_rule_conf = &#39;confdroid_postgresql/server/pghba/pg_hba_rule.conf.erb&#39;
$pl_pg_hba_conf_erb = &#39;confdroid_postgresql/server/pghba/pg_hba.conf.erb&#39;
$pl_bouncer_ini_file = &quot;${pl_bouncer_dir}/pgbouncer.ini&quot;
$pl_bouncer_ini_erb = &#39;confdroid_postgresql/server/bouncer/pgbouncer.ini.erb&#39;
$pl_bouncer_auth_file = &quot;${pl_bouncer_dir}/userlist.txt&quot;
$pl_bouncer_auth_erb = &#39;confdroid_postgresql/server/bouncer/bouncer_users.erb&#39;
# Service
$pl_service = &#39;postgresql&#39;
$pl_exporter_service = &#39;postgres_exporter&#39;
$pl_bouncer_service = &#39;pgbouncer&#39;
# includes must be last
include confdroid_postgresql::main::config

View File

@@ -83,7 +83,7 @@
<div class="docstring">
<div class="discussion">
<p>confdroid_postgresql::server::initdb.pp Module name: confdroid_postgresql Author: Arne Teuke (arne_teuke@confdroid.com)</p>
<p>confdroid_postgresql::server::initdb.pp Module name: confdroid_postgresql Author: 12ww1160 (12ww1160@confdroid.com)</p>
</div>
</div>

View File

@@ -84,7 +84,7 @@ pg_hba_rule.pp
<div class="docstring">
<div class="discussion">
<p>confdroid_postgresql::server::pg_hba.pp Module name: confdroid_postgresql Author: Arne Teuke (arne_teuke@puppetsoft.com) }</p>
<p>confdroid_postgresql::server::pg_hba.pp Module name: confdroid_postgresql Author: 12ww1160 (arne_teuke@puppetsoft.com) }</p>
</div>
</div>

View File

@@ -83,7 +83,7 @@
<div class="docstring">
<div class="discussion">
<p>confdroid_postgresql::server::service.pp Module name: confdroid_postgresql Author: Arne Teuke (arne_teuke@confdroid.com)</p>
<p>confdroid_postgresql::server::service.pp Module name: confdroid_postgresql Author: 12ww1160 (12ww1160@confdroid.com)</p>
</div>
</div>

View File

@@ -40,21 +40,28 @@
<ul id="full_list" class="puppet_defined_type">
<li id="object_puppet_defined_types::confdroid_postgresql::server::databases::db_df" class="odd">
<li id="object_puppet_defined_types::confdroid_postgresql::bouncer::bouncer_rule" class="odd">
<div class="item">
<span class='object_link'><a href="puppet_defined_types/confdroid_postgresql_3A_3Abouncer_3A_3Abouncer_rule.html" title="puppet_defined_types::confdroid_postgresql::bouncer::bouncer_rule (puppet_defined_type)">confdroid_postgresql::bouncer::bouncer_rule</a></span>
</div>
</li>
<li id="object_puppet_defined_types::confdroid_postgresql::server::databases::db_df" class="even">
<div class="item">
<span class='object_link'><a href="puppet_defined_types/confdroid_postgresql_3A_3Aserver_3A_3Adatabases_3A_3Adb_df.html" title="puppet_defined_types::confdroid_postgresql::server::databases::db_df (puppet_defined_type)">confdroid_postgresql::server::databases::db_df</a></span>
</div>
</li>
<li id="object_puppet_defined_types::confdroid_postgresql::server::pghba::pg_hba_rule" class="even">
<li id="object_puppet_defined_types::confdroid_postgresql::server::pghba::pg_hba_rule" class="odd">
<div class="item">
<span class='object_link'><a href="puppet_defined_types/confdroid_postgresql_3A_3Aserver_3A_3Apghba_3A_3Apg_hba_rule.html" title="puppet_defined_types::confdroid_postgresql::server::pghba::pg_hba_rule (puppet_defined_type)">confdroid_postgresql::server::pghba::pg_hba_rule</a></span>
</div>
</li>
<li id="object_puppet_defined_types::confdroid_postgresql::server::roles::role_df" class="odd">
<li id="object_puppet_defined_types::confdroid_postgresql::server::roles::role_df" class="even">
<div class="item">
<span class='object_link'><a href="puppet_defined_types/confdroid_postgresql_3A_3Aserver_3A_3Aroles_3A_3Arole_df.html" title="puppet_defined_types::confdroid_postgresql::server::roles::role_df (puppet_defined_type)">confdroid_postgresql::server::roles::role_df</a></span>
</div>

View File

@@ -0,0 +1,225 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Defined Type: confdroid_postgresql::bouncer::bouncer_rule
&mdash; Documentation by YARD 0.9.36
</title>
<link rel="stylesheet" href="../css/style.css" type="text/css" />
<link rel="stylesheet" href="../css/common.css" type="text/css" />
<script type="text/javascript">
pathId = "puppet_defined_types::confdroid_postgresql::bouncer::bouncer_rule";
relpath = '../';
</script>
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
</head>
<body>
<div class="nav_wrap">
<iframe id="nav" src="../puppet_defined_type_list.html?1"></iframe>
<div id="resizer"></div>
</div>
<div id="main" tabindex="-1">
<div id="header">
<div id="menu">
<a href="../_index.html">Index (c)</a> &raquo;
<span class='title'><span class='object_link'>Defined Types</span></span>
&raquo;
<span class="title">confdroid_postgresql::bouncer::bouncer_rule</span>
</div>
<div id="search">
<a class="full_list_link" id="puppet_class_list_link"
href="../puppet_class_list.html">
<svg width="24" height="24">
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
</svg>
</a>
</div>
<div class="clear"></div>
</div>
<div id="content"><h1>Defined Type: confdroid_postgresql::bouncer::bouncer_rule</h1>
<div class="box_info">
<dl>
<dt>Defined in:</dt>
<dd>
manifests/bouncer/bouncer_rule.pp
</dd>
</dl>
</div>
<h2>Summary</h2>
define manages rule entries for bouncer rules
<h2>Overview</h2>
<div class="docstring">
<div class="discussion">
<p>confdroid_postgresql::bouncer::bouncer_rule.pp Module name: confdroid_postgresql Author: 12ww1160 (12ww1160@confdroid.com)</p>
</div>
</div>
<div class="tags">
<p class="tag_title">Parameters:</p>
<ul class="param">
<li>
<span class='name'>pl_bouncer_db_name</span>
<span class='type'>(<tt>String</tt>)</span>
<em class="default">(defaults to: <tt>undef</tt>)</em>
&mdash;
<div class='inline'>
<p>db name for the bouncer rule</p>
</div>
</li>
<li>
<span class='name'>pl_bouncer_host</span>
<span class='type'>(<tt>String</tt>)</span>
<em class="default">(defaults to: <tt>&#39;127.0.0.1&#39;</tt>)</em>
&mdash;
<div class='inline'>
<p>IP of the db host to bounce to</p>
</div>
</li>
<li>
<span class='name'>pl_bouncer_port</span>
<span class='type'>(<tt>String</tt>)</span>
<em class="default">(defaults to: <tt>&#39;5432&#39;</tt>)</em>
&mdash;
<div class='inline'>
<p>port of the db host to bounce to</p>
</div>
</li>
<li>
<span class='name'>pl_bounce_order</span>
<span class='type'>(<tt>String</tt>)</span>
<em class="default">(defaults to: <tt>undef</tt>)</em>
</li>
</ul>
<p class="tag_title">See Also:</p>
<ul class="see">
<li><a href="https://www.postgresql.org/docs/9.6/static/auth-pg-hba-conf.html" target="_parent" title="https://www.postgresql.org/docs/9.6/static/auth-pg-hba-conf.html">https://www.postgresql.org/docs/9.6/static/auth-pg-hba-conf.html</a></li>
</ul>
</div><div class="method_details_list">
<table class="source_code">
<tr>
<td>
<pre class="lines">
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/bouncer/bouncer_rule.pp', line 10</span>
define confdroid_postgresql::bouncer::bouncer_rule (
String $pl_bouncer_db_name = undef,
String $pl_bouncer_host = &#39;127.0.0.1&#39;,
String $pl_bouncer_port = &#39;5432&#39;,
String $pl_bounce_order = undef,
) {
$pl_bouncer_ini_file = $confdroid_postgresql::params::pl_bouncer_ini_file
$pl_bouncer_ini_erb = $confdroid_postgresql::params::pl_bouncer_ini_erb
concat::fragment { &quot;pl_bouncer_rule_${name}&quot;:
target =&gt; $pl_bouncer_ini_file,
content =&gt; template($pl_bouncer_ini_erb),
order =&gt; $pl_bounce_order,
}
}</pre>
</td>
</tr>
</table>
</div>
</div>
<div id="footer">
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
</div>
</div>
</body>
</html>

View File

@@ -76,7 +76,7 @@
<div class="docstring">
<div class="discussion">
<p>confdroid_postgresql::server::databases::db_df Module name: confdroid_postgresql Author: Arne Teuke (arne_teuke@confdroid.com.com)</p>
<p>confdroid_postgresql::server::databases::db_df Module name: confdroid_postgresql Author: 12ww1160 (12ww1160@confdroid.com.com)</p>
</div>
</div>

View File

@@ -76,7 +76,7 @@
<div class="docstring">
<div class="discussion">
<p>confdroid_postgresql::server::pghba::pg_hba_rule Module name: confdroid_postgresql Author: Arne Teuke (arne_teuke@confdroid.com)</p>
<p>confdroid_postgresql::server::pghba::pg_hba_rule Module name: confdroid_postgresql Author: 12ww1160 (12ww1160@confdroid.com)</p>
</div>
</div>
@@ -154,7 +154,7 @@
&mdash;
<div class='inline'>
<p>SPecify IP address or FQDN for the connection, i.e. where to connect FROM.</p>
<p>Specify IP address or FQDN for the connection, i.e. where to connect FROM.</p>
</div>
</li>