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

Update example hiera.yaml for Psych parser #132

Merged
merged 1 commit into from
Apr 26, 2013
Merged

Update example hiera.yaml for Psych parser #132

merged 1 commit into from
Apr 26, 2013

Conversation

haus
Copy link
Contributor

@haus haus commented Apr 26, 2013

Bare %{clientcert} in yaml is invalid, and the Psych parser will not load such
a file. The Syck parser happily accepted such files. The solution is to quote
the %{clientcert} so it becomes "%{clientcert}" and Psych recognized it as a
string. Relevant part of the YAML spec: https://yaml.org/spec/current.html#%
directive/

Bare %{clientcert} in yaml is invalid, and the Psych parser will not load such
a file. The Syck parser happily accepted such files. The solution is to quote
the %{clientcert} so it becomes "%{clientcert}" and Psych recognized it as a
string. Relevant part of the YAML spec: https://yaml.org/spec/current.html#%
directive/
pcarlisle added a commit that referenced this pull request Apr 26, 2013
Update example hiera.yaml for Psych parser
@pcarlisle pcarlisle merged commit d79640c into puppetlabs:1.x Apr 26, 2013
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