Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

rpcbind service - changes on every run #94

Open
tgeci opened this issue Nov 21, 2017 · 0 comments
Open

rpcbind service - changes on every run #94

tgeci opened this issue Nov 21, 2017 · 0 comments

Comments

@tgeci
Copy link

tgeci commented Nov 21, 2017

Hi,
using this module for nfs will generate changes on every puppet run. The error is located on the service definition for the rpcbind service and the handling of systemd states in puppets Service Provider.

On my system Ubuntu 16.04 with systemd puppet verifies status of service by these commands:
Debug: Executing: '/bin/systemctl is-active rpcbind' Debug: Executing: '/bin/systemctl is-enabled rpcbind'
The is-active part is fine, but systemctl returns for is-enabled indirect, what is treated in puppet as false and so you have on every run changes.

There is a bug & open feature request at Puppet for this behaviour:
https://tickets.puppetlabs.com/browse/PUP-6759
https://tickets.puppetlabs.com/browse/PUP-7163

Any idea for a workarround for this problem ? Perhaps setting the enable parameter for the service would help ? https://puppet.com/docs/puppet/5.3/types/service.html#service-attribute-enable

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant