-
Notifications
You must be signed in to change notification settings - Fork 613
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
postgresql::params does not have a valid default value for $service_status on ArchLinux #1408
Labels
Comments
smortex
added a commit
that referenced
this issue
Mar 27, 2023
The value can be overriden from `postgresql::globals`, but if no override is provided by the user, the module should use a valid default. ArchLinux use systemd, so use the relevant `systemctl` command. Fixes #1408
This was referenced Mar 29, 2023
Closed
smortex
added a commit
that referenced
this issue
Mar 31, 2023
The value can be overriden from `postgresql::globals`, but if no override is provided by the user, the module should use a valid default. ArchLinux use systemd, so use the relevant `systemctl` command. Fixes #1408
bastelfreak
pushed a commit
that referenced
this issue
Jun 30, 2023
The value can be overriden from `postgresql::globals`, but if no override is provided by the user, the module should use a valid default. ArchLinux use systemd, so use the relevant `systemctl` command. Fixes #1408
vaol
pushed a commit
to vaol/puppetlabs-postgresql
that referenced
this issue
Oct 13, 2024
The value can be overriden from `postgresql::globals`, but if no override is provided by the user, the module should use a valid default. ArchLinux use systemd, so use the relevant `systemctl` command. Fixes puppetlabs#1408
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the Bug
On ArchLinux
$service_status
isn't defined and the module fails hard.Error message:
Evaluation Error: Error while evaluating a Resource Statement, Postgresql::Server::Instance::Reload[main]: parameter 'service_status' expects a String value, got Undef
Expected Behavior
$service_status
should provide a valid value for ArchLinux out of the box.Steps to Reproduce
On ArchLinux:
include postgresql::server
Additional Context
A quick fix could be to change the value for
$service_status
(line 138 in params.pp) to"systemctl status ${service_name}"
The text was updated successfully, but these errors were encountered: