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

(FACT-1317) Fix string values that look like booleans #1270

Merged
merged 1 commit into from
Feb 10, 2016

Conversation

MikaelSmith
Copy link

YAML will read boolean strings as boolean types. When the schema states
the Fact type is a string, we should ensure it's read as a string by
YAML parsers. Quote any boolean literal representation in a
string_value.

Also fix a prior mistake in the verify_facts acceptance test, which no
longer needs to check for boolean classes for a string.

YAML will read boolean strings as boolean types. When the schema states
the Fact type is a string, we should ensure it's read as a string by
YAML parsers. Quote any boolean literal representation in a
string_value.

Also fix a prior mistake in the verify_facts acceptance test, which no
longer needs to check for boolean classes for a string.
@MikaelSmith
Copy link
Author

/cc @johnduarte

@johnduarte
Copy link

👍 will merge after travis run

johnduarte pushed a commit that referenced this pull request Feb 10, 2016
(FACT-1317) Fix string values that look like booleans
@johnduarte johnduarte merged commit 8150368 into puppetlabs:stable Feb 10, 2016
@MikaelSmith MikaelSmith deleted the cherry-pick-FACT-1317 branch February 10, 2016 23:05
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