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

(#359) Datacenter support to consul_key_value #365

Merged
merged 6 commits into from
Oct 3, 2017

Conversation

houtmanj
Copy link

@houtmanj houtmanj commented Sep 8, 2017

This includes tests for the provider that mock the consul API

Fixes #363

@houtmanj
Copy link
Author

houtmanj commented Sep 8, 2017

same problem with travis, i asked their support for help

@solarkennedy
Copy link
Contributor

This looks pretty good. Can you expand the section on the k/v in the README and then I'll merge and make a major release.

@houtmanj
Copy link
Author

houtmanj commented Sep 11, 2017 via email

@leeuwenrjj
Copy link

leeuwenrjj commented Oct 2, 2017

Any chance we can see this merged?

README.md Outdated
This provider allows you to manage key/value pairs. It tries to be smart in two ways:

1. It caches the data accessible from the kv store with the specified acl token.
2. It does not update the key if the value & flag are allready correct.
Copy link
Contributor

Choose a reason for hiding this comment

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

already

README.md Outdated

Allowed parameters for this type and their default values:

Name | Default value | Comments
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you make this more "markdown"y?

@solarkennedy
Copy link
Contributor

omg once again I neglected to click the "submit review" button which has delayed this. @houtmanj please fix the few minor issues and I will merge. It is ok to add future functions in a new PR.

Jos Houtman added 6 commits October 3, 2017 06:24
This includes tests for the provider that mock the consul API.
$ bundle install --without development --path=${BUNDLE_PATH:-vendor/bundle}
Fetching gem metadata from https://rubygems.org/...Retrying dependency
api due to error (2/3): Bundler::HTTPError Net::HTTPClientError: Too
many gems! (use --full-index instead)
Retrying dependency api due to error (3/3): Bundler::HTTPError
Net::HTTPClientError: Too many gems! (use --full-index instead)
public_suffix is pinned to a version that supports ruby 1.9.3.
puppet is updated to 3.8.4 since that is the minimal version for the
tests.
Test if the value in the keyvalue store is allready what we want
it to be and skip the update.

Value and flags are both tested.
@houtmanj
Copy link
Author

houtmanj commented Oct 3, 2017

This what you intended?

@solarkennedy
Copy link
Contributor

Looks great!

@solarkennedy solarkennedy merged commit 87cbafe into voxpupuli:master Oct 3, 2017
spuder pushed a commit to spuder/puppet-consul that referenced this pull request Feb 25, 2020
(voxpupuli#359) Datacenter support to consul_key_value
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