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

daemon: explicitly pass provider to service #133

Merged
merged 2 commits into from
Jan 4, 2018

Conversation

costela
Copy link

@costela costela commented Dec 18, 2017

This ensures puppet doesn't incorrectly detect the service provider in some circumstances (e.g. if a systemd unit is disabled).
It also has the side-effect of enabling us to actually meaningfully override the provider (until now, setting $init_style would not propagate to the service, so puppet would try to detect the system provider even if you attempted to pass a different one)

fixes #132

This ensures puppet doesn't incorrectly detect the service provider in some circumstances (e.g. if a systemd unit is disabled).
It also has the side-effect of enabling us to actually meaningfully override the provider (until now, setting $init_style would not propagate to the service, so puppet would try to detect the system provider even if you attempted to pass a different one)

fixes voxpupuli#132
@bastelfreak bastelfreak added the bug Something isn't working label Jan 4, 2018
@bastelfreak
Copy link
Member

Thanks for this fix @costela!

@bastelfreak bastelfreak merged commit fd2a307 into voxpupuli:master Jan 4, 2018
@costela costela deleted the pass_provider_to_service branch January 4, 2018 13:53
cegeka-jenkins pushed a commit to cegeka/puppet-prometheus that referenced this pull request Aug 28, 2019
…rvice

daemon: explicitly pass provider to service
Rovanion pushed a commit to Rovanion/puppet-prometheus that referenced this pull request May 5, 2021
…rvice

daemon: explicitly pass provider to service
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

node_exporter: "Could not find init script for node_exporter"
2 participants