We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 67577e8 + 72c6942 commit 0438db2Copy full SHA for 0438db2
manifests/params.pp
@@ -142,7 +142,7 @@
142
$bindir = pick($bindir, "/usr/lib/postgresql/${version}/bin")
143
$datadir = pick($datadir, "/var/lib/postgresql/${version}/main")
144
$confdir = pick($confdir, "/etc/postgresql/${version}/main")
145
- if versioncmp($::operatingsystemrelease, '8.0') >= 0 {
+ if $::operatingsystem == 'Debian' and versioncmp($::operatingsystemrelease, '8.0') >= 0 {
146
# Jessie uses systemd
147
$service_status = pick($service_status, "/usr/sbin/service ${service_name}@*-main status")
148
} else {
0 commit comments