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

Gentoo/Debian: Enable hasstatus for service #331

Merged
merged 1 commit into from Apr 16, 2024

Conversation

bastelfreak
Copy link
Member

The services are deployed as proper systemd services on all OSes. When hasstatus is true, Puppet will use systemctl to check if the service is running. If it's false, Puppet will try to grep within ps for the service. That's unreliable and doesn't make any sense. See: https://www.puppet.com/docs/puppet/8/types/service.html#service-description

it's not clear why this ever was introduced: ace4ed6

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

@bastelfreak bastelfreak added the bug Something isn't working label Apr 16, 2024
@bastelfreak bastelfreak self-assigned this Apr 16, 2024
The services are deployed as proper systemd services on all OSes. When
hasstatus is true, Puppet will use systemctl to check if the service is
running. If it's false, Puppet will try to grep within `ps` for the
service. That's unreliable and doesn't make any sense. See:
https://www.puppet.com/docs/puppet/8/types/service.html#service-description

it's not clear why this ever was introduced: voxpupuli@ace4ed6
@bastelfreak bastelfreak merged commit 99f6dc0 into voxpupuli:master Apr 16, 2024
18 checks passed
@bastelfreak bastelfreak deleted the hasstatus branch April 16, 2024 11:57
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.

None yet

2 participants