Skip to content

Commit 3e054b4

Browse files
authored
Merge pull request #1514 from bastelfreak/eol
Drop code for Debian without systemd
2 parents ef2e9bc + 7469332 commit 3e054b4

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
@@ -164,13 +164,8 @@
164164
$bindir = pick($bindir, "/usr/lib/postgresql/${version}/bin")
165165
$datadir = pick($datadir, "/var/lib/postgresql/${version}/main")
166166
$confdir = pick($confdir, "/etc/postgresql/${version}/main")
167-
if pick($service_provider, $facts['service_provider']) == 'systemd' {
168-
$service_reload = "systemctl reload ${service_name}"
169-
$service_status = pick($service_status, "systemctl status ${service_name}")
170-
} else {
171-
$service_reload = "service ${service_name} reload"
172-
$service_status = pick($service_status, "service ${service_name} status")
173-
}
167+
$service_reload = "systemctl reload ${service_name}"
168+
$service_status = pick($service_status, "systemctl status ${service_name}")
174169
$psql_path = pick($psql_path, '/usr/bin/psql')
175170
$postgresql_conf_mode = pick($postgresql_conf_mode, '0644')
176171
}

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