3
0

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

Auto-merge for build 9

See merge request puppet/postgresql_cd!6
This commit is contained in:
2025-09-28 12:23:04 +00:00
4 changed files with 9 additions and 3 deletions

View File

@@ -113,7 +113,9 @@
15
16
17
18</pre>
18
19
20</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/server/initdb.pp', line 6</span>
@@ -122,6 +124,8 @@ class postgresql_cd::server::initdb (
) inherits postgresql_cd::params {
if $fqdn == $pl_server_fqdn {
require postgresql_cd::main::install
exec { &#39;init_pgsql_db&#39;:
command =&gt; &#39;postgresql-setup --initdb&#39;,
creates =&gt; &quot;${pl_data_dir}/PG_VERSION&quot;,

View File

@@ -125,7 +125,7 @@ class postgresql_cd::server::service (
) inherits postgresql_cd::params {
if $fqdn == $pl_server_fqdn {
require postgresql_cd::firewall::iptables
require postgresql_cd::server::initdb
include postgresql_cd::server::initdb
service { $pl_service:
ensure =&gt; running,

View File

@@ -7,6 +7,8 @@ class postgresql_cd::server::initdb (
) inherits postgresql_cd::params {
if $fqdn == $pl_server_fqdn {
require postgresql_cd::main::install
exec { 'init_pgsql_db':
command => 'postgresql-setup --initdb',
creates => "${pl_data_dir}/PG_VERSION",

View File

@@ -8,7 +8,7 @@ class postgresql_cd::server::service (
) inherits postgresql_cd::params {
if $fqdn == $pl_server_fqdn {
require postgresql_cd::firewall::iptables
require postgresql_cd::server::initdb
include postgresql_cd::server::initdb
service { $pl_service:
ensure => running,