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 'ensure' parameter to resource::upstream::member. #673

Merged
merged 4 commits into from
Aug 31, 2015
Merged

Add 'ensure' parameter to resource::upstream::member. #673

merged 4 commits into from
Aug 31, 2015

Conversation

kwolf-zz
Copy link
Contributor

I'm using stored configs to create upstream::member on servers that should belong to up upstream. Removing them while developing the puppet manifests if something goes wrong is troublesome without the ability to ensure => absent.

All tests are passing under ruby 2.1.2, though I didn't add new ones.

Currently there is no way to ensure => absent.  I'm using these with
stored configs to have servers register the member only, not the
upstream.  Removing them in a mis-configured incident is a bit of a
burden without ensure => absent.

Tests are passing under Ruby 2.1
@jfryman
Copy link
Contributor

jfryman commented Aug 31, 2015

Looks great. Thanks for the code!

jfryman added a commit that referenced this pull request Aug 31, 2015
Add 'ensure' parameter to resource::upstream::member.
@jfryman jfryman merged commit 979f822 into voxpupuli:master Aug 31, 2015
Slm0n87 pushed a commit to Slm0n87/puppet-nginx that referenced this pull request Mar 7, 2019
Add 'ensure' parameter to resource::upstream::member.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants