puppet: Fix indentation.

This commit is contained in:
Alex Vandiver 2024-08-20 16:29:48 +00:00 committed by Tim Abbott
parent 7e1f468f04
commit 9e58780d46
1 changed files with 14 additions and 14 deletions

View File

@ -37,20 +37,20 @@ class kandra::profile::postgresql inherits kandra::profile::base {
# This is the second stage, after secrets are configured
$replication_primary = zulipconf('postgresql', 'replication_primary', undef)
if $replication_primary != undef {
file { '/root/setup_data.sh':
ensure => file,
owner => 'root',
group => 'root',
mode => '0744',
source => 'puppet:///modules/kandra/postgresql/setup_data.sh',
}
exec { 'setup_data':
command => '/root/setup_data.sh',
require => [File['/usr/local/bin/env-wal-g'], Exec['setup_disks']],
unless => "test -d /srv/data/postgresql/${zulip::postgresql_common::version}/main",
timeout => 0,
notify => Exec[$zulip::postgresql_base::postgresql_restart],
}
file { '/root/setup_data.sh':
ensure => file,
owner => 'root',
group => 'root',
mode => '0744',
source => 'puppet:///modules/kandra/postgresql/setup_data.sh',
}
exec { 'setup_data':
command => '/root/setup_data.sh',
require => [File['/usr/local/bin/env-wal-g'], Exec['setup_disks']],
unless => "test -d /srv/data/postgresql/${zulip::postgresql_common::version}/main",
timeout => 0,
notify => Exec[$zulip::postgresql_base::postgresql_restart],
}
}
file { "${zulip::postgresql_base::postgresql_confdir}/pg_hba.conf":