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

fixes issue with new backend merge logic #156

Merged
merged 3 commits into from
Oct 7, 2016

Conversation

logicminds
Copy link
Contributor

No description provided.

  * the eyaml_gpg_keygen variable is not used and causes
    testing to fail during gpg testing
@logicminds logicminds force-pushed the backends branch 2 times, most recently from 70be1c1 to 3472d8c Compare October 6, 2016 23:33
  * previously before using deep_merge the data from hiera
    was not being merged correctly causing the user to have to
    define all the eyaml data upfront instead of taking defaults

  * also fixes a problem where eyaml-gpg data was being declared
    in the hiera.yaml file when it should not have been
@logicminds logicminds force-pushed the backends branch 2 times, most recently from afebe60 to 923c610 Compare October 7, 2016 05:48
@logicminds
Copy link
Contributor Author

I assumed hiera was able to read yaml files with or without the usage of symbols and covert them to the correct type. However it turns out that many of the backends require the usage of symbols for their options if not all. I assume this will be backend specific but there is just now way to tell unless you look at the backend code. More importantly this would probably cover 95% of the cases.

The template will actually convert to symbols which is probably safer given that most folks don't know what ruby symbols are and have no idea how to use them with yaml.

Without this fix the previously submitted code is not fully functional.

@logicminds logicminds force-pushed the backends branch 3 times, most recently from d03fa27 to 1f3abb6 Compare October 7, 2016 18:10
@bastelfreak bastelfreak merged commit 87c972b into voxpupuli:master Oct 7, 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
Development

Successfully merging this pull request may close these issues.

2 participants