3
0

Merge branch 'jenkins-build-18' into 'master'

Auto-merge for build 18

See merge request puppet/postgresql_cd!15
This commit is contained in:
2025-10-01 15:30:19 +00:00
2 changed files with 36 additions and 36 deletions

View File

@@ -101,12 +101,12 @@ pg_hba_rule.pp
<p>postgresql_cd::server::pghba::pg_hba_rule { local access for role postgres:</p>
</div></p>
<pre class="example code"><code>psql_auth_type =&gt; &#39;local&#39;,
psql_auth_database =&gt; &#39;all&#39;,
psql_auth_user =&gt; &#39;postgres&#39;,
psql_auth_method =&gt; &#39;trust&#39;,
psql_auth_order =&gt; &#39;001&#39;,
psql_auth_option =&gt; &#39;&#39;,</code></pre>
<pre class="example code"><code>pl_auth_type =&gt; &#39;local&#39;,
pl_auth_database =&gt; &#39;all&#39;,
pl_auth_user =&gt; &#39;postgres&#39;,
pl_auth_method =&gt; &#39;trust&#39;,
pl_auth_order =&gt; &#39;001&#39;,
pl_auth_option =&gt; &#39;&#39;,</code></pre>
</div>
@@ -187,21 +187,21 @@ class postgresql_cd::server::pghba::pg_hba (
# manage default rules =&gt; should go into external config set
# postgresql_cd::server::pghba::pg_hba_rule { &#39;local access for role postgres&#39;:
# psql_auth_type =&gt; &#39;local&#39;,
# psql_auth_database =&gt; &#39;all&#39;,
# psql_auth_user =&gt; $ql_user_name,
# psql_auth_method =&gt; &#39;trust&#39;,
# psql_auth_order =&gt; &#39;001&#39;,
# psql_auth_option =&gt; $ql_auth_option,
# pl_auth_type =&gt; &#39;local&#39;,
# pl_auth_database =&gt; &#39;all&#39;,
# pl_auth_user =&gt; $ql_user_name,
# pl_auth_method =&gt; &#39;trust&#39;,
# pl_auth_order =&gt; &#39;001&#39;,
# pl_auth_option =&gt; $ql_auth_option,
# }
# postgresql_cd::server::pghba::pg_hba_rule { &#39;local access for all roles&#39;:
# psql_auth_type =&gt; &#39;local&#39;,
# psql_auth_database =&gt; &#39;all&#39;,
# psql_auth_user =&gt; &#39;all&#39;,
# psql_auth_method =&gt; &#39;trust&#39;,
# psql_auth_order =&gt; &#39;002&#39;,
# psql_auth_option =&gt; $pl_auth_option,
# pl_auth_type =&gt; &#39;local&#39;,
# pl_auth_database =&gt; &#39;all&#39;,
# pl_auth_user =&gt; &#39;all&#39;,
# pl_auth_method =&gt; &#39;trust&#39;,
# pl_auth_order =&gt; &#39;002&#39;,
# pl_auth_option =&gt; $pl_auth_option,
# }
}
}</pre>

View File

@@ -4,12 +4,12 @@
# @summary Class manages pg_hba.conf file and line entries through define
# pg_hba_rule.pp
# @example postgresql_cd::server::pghba::pg_hba_rule { 'local access for role postgres':
# psql_auth_type => 'local',
# psql_auth_database => 'all',
# psql_auth_user => 'postgres',
# psql_auth_method => 'trust',
# psql_auth_order => '001',
# psql_auth_option => '',
# pl_auth_type => 'local',
# pl_auth_database => 'all',
# pl_auth_user => 'postgres',
# pl_auth_method => 'trust',
# pl_auth_order => '001',
# pl_auth_option => '',
# }
##############################################################################
class postgresql_cd::server::pghba::pg_hba (
@@ -35,21 +35,21 @@ class postgresql_cd::server::pghba::pg_hba (
# manage default rules => should go into external config set
# postgresql_cd::server::pghba::pg_hba_rule { 'local access for role postgres':
# psql_auth_type => 'local',
# psql_auth_database => 'all',
# psql_auth_user => $ql_user_name,
# psql_auth_method => 'trust',
# psql_auth_order => '001',
# psql_auth_option => $ql_auth_option,
# pl_auth_type => 'local',
# pl_auth_database => 'all',
# pl_auth_user => $ql_user_name,
# pl_auth_method => 'trust',
# pl_auth_order => '001',
# pl_auth_option => $ql_auth_option,
# }
# postgresql_cd::server::pghba::pg_hba_rule { 'local access for all roles':
# psql_auth_type => 'local',
# psql_auth_database => 'all',
# psql_auth_user => 'all',
# psql_auth_method => 'trust',
# psql_auth_order => '002',
# psql_auth_option => $pl_auth_option,
# pl_auth_type => 'local',
# pl_auth_database => 'all',
# pl_auth_user => 'all',
# pl_auth_method => 'trust',
# pl_auth_order => '002',
# pl_auth_option => $pl_auth_option,
# }
}
}