Skip to content
This repository has been archived by the owner on Feb 18, 2022. It is now read-only.

Allow ensure to be undef #46

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

robinbowes
Copy link

We don't want puppet to always alter the state of the service - we rely on external orchestration to bring up services in a specific order in many cases.

This change allows ensure to be set to undef.

@juniorsysadmin
Copy link

@robinbowes With managing a service you generally want to manage all aspects of it, or not at all. The preferred way to do this is generally with a boolean service_manage parameter. eg. https://github.com/puppetlabs/puppetlabs-postgresql/blob/master/manifests/server/service.pp#L15

@robinbowes
Copy link
Author

"generally want to" - perhaps. This change adds flexibility, without changing default behaviour.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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

Successfully merging this pull request may close these issues.

3 participants