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 service_enable and simplify service_ensure, #1208 #1217

Merged
merged 2 commits into from
Jul 7, 2018

Conversation

fnoop
Copy link
Contributor

@fnoop fnoop commented May 17, 2018

Pull Request (PR) description

Adds an explicit $service_enable parameter. Sets to undef by default, which then follows the previous behaviour of auto-setting from $service_ensure.

This replaces a previous effort #1211

This Pull Request (PR) fixes the following issues

Fixes #1208

@fnoop
Copy link
Contributor Author

fnoop commented May 17, 2018

I don't think the travis failure has anything to do with this PR?

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

Technically I think this is a breaking change but I'd accept this as non-breaking as well - I think most users have it set to ensure anyway.

I do wonder in which case you have a different value for ensure and enable.

@@ -151,6 +151,7 @@

### START Service Configuation ###
$service_ensure = running,
$service_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.

Should this be a Boolean as well?

@bastelfreak bastelfreak added the enhancement New feature or request label Jul 7, 2018
@bastelfreak bastelfreak merged commit 5dff429 into voxpupuli:master Jul 7, 2018
ceonizm pushed a commit to ceonizm/puppet-nginx that referenced this pull request Jan 23, 2019
ceonizm pushed a commit to ceonizm/puppet-nginx that referenced this pull request Jan 23, 2019
cegeka-jenkins pushed a commit to cegeka/puppet-nginx that referenced this pull request Sep 13, 2019
cegeka-jenkins pushed a commit to cegeka/puppet-nginx that referenced this pull request Sep 13, 2019
Add service_enable and simplify service_ensure, voxpupuli#1208
Rubueno pushed a commit to Rubueno/puppet-nginx that referenced this pull request Oct 19, 2020
Rubueno pushed a commit to Rubueno/puppet-nginx that referenced this pull request Oct 19, 2020
Add service_enable and simplify service_ensure, voxpupuli#1208
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nginx::service::service_enable does not exist
3 participants