Skip to content

Commit

Permalink
Operating systems (other then Debian) default to confdir being datadi…
Browse files Browse the repository at this point in the history
…r and datadir is already created in initdb.
  • Loading branch information
ddryden committed Mar 9, 2018
1 parent 57bbbd7 commit 8959324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/server/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8959324

Please sign in to comment.