Jira (FACT-1448) facter json output converts all booleans to true
Title: Message Title Steve Barlow updated an issue Facter / FACT-1448 facter json output converts all booleans to true Change By: Steve Barlow Fix Version/s: FACT 3.3.0 Fix Version/s: FACT 3.4.0 Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1448) facter json output converts all booleans to true
Title: Message Title Eric Thompson updated an issue Facter / FACT-1448 facter json output converts all booleans to true Change By: Eric Thompson QA Status: Reviewed Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1448) facter json output converts all booleans to true
Title: Message Title Sean Griffin updated an issue Facter / FACT-1448 facter json output converts all booleans to true Change By: Sean Griffin QA Highest Test Level: Acceptance Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1448) facter json output converts all booleans to true
Title: Message Title John Duarte updated an issue Facter / FACT-1448 facter json output converts all booleans to true Change By: John Duarte Release Notes Summary: Previously, all facter boolean values were returned true when json output was requested. This corrects the issue so that 'false' is returned when the fact value is 'false' Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1448) facter json output converts all booleans to true
Title: Message Title John Duarte updated an issue Facter / FACT-1448 facter json output converts all booleans to true Change By: John Duarte Release Notes: Bug Fix Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1448) facter json output converts all booleans to true
Title: Message Title John Duarte commented on FACT-1448 Re: facter json output converts all booleans to true Acceptance test has been merged. This ticket can be resolved after a puppet-agent build >= c32198a passes CI. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1448) facter json output converts all booleans to true
Title: Message Title John Duarte commented on FACT-1448 Re: facter json output converts all booleans to true Using released puppet-agent version 1.5.2 containing facter version 3.2.0, the updated acceptance test in PR 1373 fails as expected. Test Case tests/options/json.rb reported: # --- expected +++ actual @@ -6,6 +6,6 @@ \"bar\": \"value2\", \"baz\": \"value3\", \"true\": true, -\"false\": false +\"false\": true } }"
Jira (FACT-1448) facter json output converts all booleans to true
Title: Message Title John Duarte assigned an issue to John Duarte Facter / FACT-1448 facter json output converts all booleans to true Change By: John Duarte Assignee: qa John Duarte Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1448) facter json output converts all booleans to true
Title: Message Title John Duarte updated an issue Facter / FACT-1448 facter json output converts all booleans to true Change By: John Duarte QA Risk Assessment: High Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1448) facter json output converts all booleans to true
Title: Message Title John Duarte updated an issue Facter / FACT-1448 facter json output converts all booleans to true Change By: John Duarte QA Risk Assessment Reason: Critical regression Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1448) facter json output converts all booleans to true
Title: Message Title Eric Thompson assigned an issue to qa Facter / FACT-1448 facter json output converts all booleans to true Change By: Eric Thompson Status: Ready for CI Test Assignee: qa Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1448) facter json output converts all booleans to true
Title: Message Title Branan Riley commented on FACT-1448 Re: facter json output converts all booleans to true A good head-smacking PEBKAC every quarter helps keep me humble Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1448) facter json output converts all booleans to true
Title: Message Title Clay Caviness commented on FACT-1448 Re: facter json output converts all booleans to true Serves me right for giving full repro steps Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1448) facter json output converts all booleans to true
Title: Message Title Branan Riley commented on FACT-1448 Re: facter json output converts all booleans to true Clay Caviness When I did a quick test of this I just looked at a built-in fact (based on the title of the ticket "... all booleans..."), but it only affects Ruby facts. Running your example fails as expected in my linux environment Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1448) facter json output converts all booleans to true
Title: Message Title Clay Caviness commented on FACT-1448 Re: facter json output converts all booleans to true After seeing the fix (https://github.com/puppetlabs/facter/pull/1374/files), I'm now very curious how this was not affecting Arch Linux Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1448) facter json output converts all booleans to true
Title: Message Title William Hopper updated an issue Facter / FACT-1448 facter json output converts all booleans to true Change By: William Hopper Fix Version/s: FACT 3.3.0 Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1448) facter json output converts all booleans to true
Title: Message Title Maggie Dreyer assigned an issue to Maggie Dreyer Facter / FACT-1448 facter json output converts all booleans to true Change By: Maggie Dreyer Assignee: Maggie Dreyer Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1448) facter json output converts all booleans to true
Title: Message Title Maggie Dreyer updated an issue Facter / FACT-1448 facter json output converts all booleans to true Change By: Maggie Dreyer Scope Change Category: Adopted Scope Change Reason: Extra bandwidth Story Points: 1 Sprint: Client Triage 2016-07-13 (HA, 1.5.3) Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1448) facter json output converts all booleans to true
Title: Message Title Clay Caviness commented on FACT-1448 Re: facter json output converts all booleans to true I've no idea how to fix this, but https://github.com/puppetlabs/facter/pull/1373 might be an acceptance test that proves the bug. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1448) facter json output converts all booleans to true
Title: Message Title Kylo Ginsberg commented on FACT-1448 Re: facter json output converts all booleans to true FWIW I did reproduce this on my osx 10.11 laptop. Very odd. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1448) facter json output converts all booleans to true
Title: Message Title Kylo Ginsberg updated an issue Facter / FACT-1448 facter json output converts all booleans to true Change By: Kylo Ginsberg Sprint: Client Triage Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1448) facter json output converts all booleans to true
Title: Message Title Kylo Ginsberg updated an issue Facter / FACT-1448 facter json output converts all booleans to true Change By: Kylo Ginsberg Scrum Team: Client Platform Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1448) facter json output converts all booleans to true
Title: Message Title Branan Riley commented on FACT-1448 Re: facter json output converts all booleans to true Interestingly, this seems to work fine for me on Arch Linux. Platform-specific data corruption looks potentially "fun" to dig in to. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1448) facter json output converts all booleans to true
Title: Message Title Allister Banks commented on FACT-1448 Re: facter json output converts all booleans to true Can reproduce (on 10.11.5, facter 3.2.0) in my environment # facter -p jsontest --custom-dir=/tmp { true => true, false => false } bash-3.2# facter -p jsontest --custom-dir=/tmp --json { "jsontest": { "true": true, "false": true }
Jira (FACT-1448) facter json output converts all booleans to true
Title: Message Title Clay Caviness created an issue Facter / FACT-1448 facter json output converts all booleans to true Issue Type: Bug Affects Versions: FACT 3.1.4 Assignee: Unassigned Created: 2016/06/28 8:47 AM Environment: macOS 10.11 Priority: Critical Reporter: Clay Caviness When json output is requested, any fact value that is a boolean true/false is returned as true. This is a pretty huge regression. To recreate, add a simple fact like this: Facter.add('jsontest') do setcode do