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

(HC-30) Make path and setting namevars #30

Merged

Conversation

MSLilah
Copy link
Contributor

@MSLilah MSLilah commented Mar 10, 2016

Make the path and setting parameters namevars, thus ensuring that
Puppet will give an error if two resources manage the same hocon
setting in the same file.

To implement this I ended up needing to make some changes to the API. This change should be compatible with all existing puppet code written using the hocon_setting type unless the user was explicitly setting name.

When we release this change we should either release the module as 0.10.0 or 1.0.0.

Make the path and setting parameters namevars, thus ensuring that
Puppet will give an error if two resources manage the same hocon
setting in the same file.
@jpinsonault
Copy link
Contributor

Looks good to me 👍

@adreyer
Copy link

adreyer commented Mar 22, 2016

This looks good and the tests are the behavior I would expect.

@jpinsonault jpinsonault merged commit 6de7f99 into puppetlabs:master Mar 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants