Skip to content

Commit 9534a43

Browse files
authored
Merge pull request #1410 from puppetlabs/arch-service-status
Fix default value for $service_status on ArchLinux
2 parents 77fd8aa + fa9a21c commit 9534a43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/params.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
$confdir = pick($confdir, $datadir)
136136
$psql_path = pick($psql_path, "${bindir}/psql")
137137

138-
$service_status = $service_status
138+
$service_status = pick($service_status, "systemctl status ${service_name}")
139139
$service_reload = "systemctl reload ${service_name}"
140140
$python_package_name = pick($python_package_name, 'python-psycopg2')
141141
# Archlinux does not have a perl::DBD::Pg package

0 commit comments

Comments
 (0)