Merge pull request #588 from mhaskel/fix_for_586

Since this was in an osfamily block it was getting picked up on ubuntu
This commit is contained in:
Travis Fields 2015-03-18 08:38:13 -07:00
commit 0438db2f01

View file

@ -142,7 +142,7 @@ class postgresql::params inherits postgresql::globals {
$bindir = pick($bindir, "/usr/lib/postgresql/${version}/bin")
$datadir = pick($datadir, "/var/lib/postgresql/${version}/main")
$confdir = pick($confdir, "/etc/postgresql/${version}/main")
if versioncmp($::operatingsystemrelease, '8.0') >= 0 {
if $::operatingsystem == 'Debian' and versioncmp($::operatingsystemrelease, '8.0') >= 0 {
# Jessie uses systemd
$service_status = pick($service_status, "/usr/sbin/service ${service_name}@*-main status")
} else {