Update FreeBSD $confdir to defer to $datadir

This matches the behaviour of most of the other operating systems
configurations.
This commit is contained in:
Geoff Garside 2014-03-07 14:39:21 +00:00
parent 3225a889e6
commit 8f89ffaf06

View file

@ -139,7 +139,7 @@ class postgresql::params inherits postgresql::globals {
$service_name = pick($service_name, 'postgresql')
$bindir = pick($bindir, '/usr/local/bin')
$datadir = pick($datadir, '/usr/local/pgsql/data')
$confdir = pick($confdir, '/usr/local/share/postgresql')
$confdir = pick($confdir, $datadir)
$service_status = pick($service_status, "/usr/local/etc/rc.d/${service_name} status")
$psql_path = pick($psql_path, "${bindir}/psql")