Since this was in an osfamily block it was getting picked up on ubuntu

Fixes #586
This commit is contained in:
Morgan Haskel 2015-03-17 17:12:31 -07:00
parent 57448a98f3
commit 72c6942759

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 {