Since this was in an osfamily block it was getting picked up on ubuntu
Fixes #586
This commit is contained in:
parent
57448a98f3
commit
72c6942759
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue