From 9cd807a5dbc3e8a36be0d3713836427f8572d341 Mon Sep 17 00:00:00 2001 From: Dennis Dryden Date: Fri, 9 Mar 2018 16:15:46 +0000 Subject: [PATCH] Operating systems (other then Debian) default to confdir being datadir and datadir is already created in initdb. --- manifests/server/config.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/server/config.pp b/manifests/server/config.pp index 6d61688c8e..24ba2efaf8 100644 --- a/manifests/server/config.pp +++ b/manifests/server/config.pp @@ -24,7 +24,7 @@ $log_line_prefix = $postgresql::server::log_line_prefix $timezone = $postgresql::server::timezone - if ($confdir) { + if ($confdir and $confdir != $datadir ) { file { $confdir: ensure => directory, owner => $user,