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

Test if stringify_facts = true on agent #131

Merged
merged 2 commits into from Jul 12, 2016
Merged

Test if stringify_facts = true on agent #131

merged 2 commits into from Jul 12, 2016

Conversation

hpcprofessional
Copy link
Contributor

and give a helpful error message if it is.

stringify_facts = false is a stated requirement in the documentation.

However, if that is missed, or if the occasional agent has it unset (and therefore true) then the error message is indecipherable. To aid the unlucky troubleshooter, this PR will identify the consequence of stringify_facts being true and a particular data structure being a String instead of a Hash.

@MikaelSmith
Copy link
Contributor

This seems useful, thanks. I'm going to squash commits and rewrite the commit message a bit.

@MikaelSmith MikaelSmith merged commit 6fb63a0 into puppetlabs:master Jul 12, 2016
@hpcprofessional hpcprofessional deleted the human_readable_stringify_facts_equals_true_error branch July 13, 2016 01:58
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.

None yet

2 participants