diff --git a/puppet/kandra/manifests/profile/postgresql.pp b/puppet/kandra/manifests/profile/postgresql.pp index da622416f9..e6dda4feca 100644 --- a/puppet/kandra/manifests/profile/postgresql.pp +++ b/puppet/kandra/manifests/profile/postgresql.pp @@ -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":