We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b836f5 commit 47b490eCopy full SHA for 47b490e
manifests/server/config.pp
@@ -15,6 +15,7 @@
15
$version = $postgresql::server::_version
16
$manage_pg_hba_conf = $postgresql::server::manage_pg_hba_conf
17
$manage_pg_ident_conf = $postgresql::server::manage_pg_ident_conf
18
+ $datadir = $postgresql::server::datadir
19
20
if ($manage_pg_hba_conf == true) {
21
# Prepare the main pg_hba file
@@ -100,6 +101,9 @@
100
101
postgresql::server::config_entry { 'port':
102
value => $port,
103
}
104
+ postgresql::server::config_entry { 'data_directory':
105
+ value => $datadir,
106
+ }
107
108
# RedHat-based systems hardcode some PG* variables in the init script, and need to be overriden
109
# in /etc/sysconfig/pgsql/postgresql. Create a blank file so we can manage it with augeas later.
0 commit comments