Skip to content

Gentoo/Debian: Enable hasstatus for service#331

Merged
bastelfreak merged 1 commit intovoxpupuli:masterfrom
bastelfreak:hasstatus
Apr 16, 2024
Merged

Gentoo/Debian: Enable hasstatus for service#331
bastelfreak merged 1 commit intovoxpupuli:masterfrom
bastelfreak:hasstatus

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
@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.

2 participants