From 05c466c9d04c0f12fd164b1af845b53611860ada Mon Sep 17 00:00:00 2001 From: Ruben van Staveren Date: Mon, 16 Mar 2015 21:27:57 +0100 Subject: [PATCH] Provide postgresql_psql defaults for postgresql::server::initdb --- manifests/server/initdb.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/manifests/server/initdb.pp b/manifests/server/initdb.pp index abee5c8..9dd28ba 100644 --- a/manifests/server/initdb.pp +++ b/manifests/server/initdb.pp @@ -9,6 +9,16 @@ class postgresql::server::initdb { $locale = $postgresql::server::locale $group = $postgresql::server::group $user = $postgresql::server::user + $psql_path = $postgresql::server::psql_path + $port = $postgresql::server::port + + # Set the defaults for the postgresql_psql resource + Postgresql_psql { + psql_user => $user, + psql_group => $group, + psql_path => $psql_path, + port => $port, + } # Make sure the data directory exists, and has the correct permissions. file { $datadir: