Skip to content

Commit e5a28a0

Browse files
authored
Merge pull request #1520 from bastelfreak/sles
Drop EoL SLES 11.4 code
2 parents 5b58886 + e588823 commit e5a28a0

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

manifests/params.pp

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -264,13 +264,8 @@
264264
$bindir = pick($bindir, "/usr/lib/postgresql${version}/bin")
265265
$datadir = pick($datadir, '/var/lib/pgsql/data')
266266
$confdir = pick($confdir, $datadir)
267-
if $facts['os']['name'] == 'SLES' and versioncmp($facts['os']['release']['full'], '11.4') <= 0 {
268-
$service_status = pick($service_status, "/etc/init.d/${service_name} status")
269-
$service_reload = "/etc/init.d/${service_name} reload"
270-
} else {
271-
$service_status = pick($service_status, "systemctl status ${service_name}")
272-
$service_reload = "systemctl reload ${service_name}"
273-
}
267+
$service_status = pick($service_status, "systemctl status ${service_name}")
268+
$service_reload = "systemctl reload ${service_name}"
274269
$psql_path = pick($psql_path, "${bindir}/psql")
275270

276271
$needs_initdb = pick($needs_initdb, true)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy