Navigation Menu

Skip to content
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

(MODULES-9219) - puppetlabs-postgresql : catalog compilation fails when the service command is not installed #1093

Merged
merged 1 commit into from Aug 28, 2019

Conversation

blackknight36
Copy link
Contributor

@blackknight36 blackknight36 commented Jul 12, 2019

The service command is deprecated and is not installed by default on
newer Redhat releases. Updated the params.pp file to define the
service_reload parameter based on what service provider is used on the node.

This fixes errors such as the following.

Error: /Stage[main]/Postgresql::Server::Reload/Exec[postgresql_reload]: 
Failed to call refresh: Could not find command 'service'

@blackknight36 blackknight36 changed the title Fix missing service command errors on Redhat nodes (MODULES-9219) - puppetlabs-postgresql : catalog compliation fails when the service command is not installed Aug 2, 2019
@blackknight36 blackknight36 changed the title (MODULES-9219) - puppetlabs-postgresql : catalog compliation fails when the service command is not installed (MODULES-9219) - puppetlabs-postgresql : catalog compilation fails when the service command is not installed Aug 6, 2019
@blackknight36 blackknight36 reopened this Aug 6, 2019
…en the service command is not installed

The service command is deprecated and is not installed by default on
modern Redhat releases.  Updated class parameters to define the service
status and service reload commands based on what OS is installed on the node.
@florindragos florindragos merged commit 7a122cc into puppetlabs:master Aug 28, 2019
@blackknight36 blackknight36 deleted the fix_service_reload branch October 27, 2020 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants