Issue #3226 has been updated by Andrew Pollock.
Just bear in mind that people who have been affected by this bug will have worked around it by testing for facts that contain whitespace, e.g. in Puppet if $productname == "Precision WorkStation T3400 " . . . So fixing this bug is going to break people with workarounds in place. You'll need to make sure the behaviour change is communicated appropriately. ---------------------------------------- Bug #3226: Facter not stripping trailing whitespace in at least the productname fact https://projects.puppetlabs.com/issues/3226#change-62516 Author: Andrew Pollock Status: In Topic Branch Pending Review Priority: Normal Assignee: Hailee Kenney Category: interface Target version: Keywords: Branch: https://github.com/puppetlabs/facter/pull/202 Affected Facter version: irb(main):001:0> require 'facter' => true irb(main):002:0> require 'pp' => true irb(main):003:0> facts = Facter.to_hash [REDACTED] irb(main):004:0> facts['productname'] => "Precision WorkStation T3400 " -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
