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

Add the ability to control service status #154

Closed
wants to merge 3 commits into from

Conversation

ron-benaim
Copy link

@ron-benaim ron-benaim commented Mar 31, 2019

Add the ability to control service status

Fixes #153

manifests/init.pp Outdated Show resolved Hide resolved
Commiting changes suggested by @ekohl
Adding the option to select if to manage the service or not.
service { $servicename:
ensure => running,
ensure => $_service_ensure_real,
enable => true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should determine this as well. Having ensure => stopped but enable => true is inconsistent.

@zjhuntin
Copy link

zjhuntin commented Apr 2, 2020

Closing for inactivity

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

Successfully merging this pull request may close these issues.

Cannot set service status
4 participants