Issue #3226 has been updated by Thomas Bellman.
> In fact (no pun intended), I can't see any value (again, no pun intended) > in having fact values returned with leading or trailing whitespace in any > case. Facter should always strip the whitespace. You don't have enough imagination. :-) I use a custom fact that contains binary data (the contents of a small [~150 bytes] binary file), and would prefer if facter didn't mangle that. ---------------------------------------- Bug #3226: Facter not stripping trailing whitespace in at least the productname fact http://projects.reductivelabs.com/issues/3226 Author: Andrew Pollock Status: Unreviewed Priority: Normal Assigned to: Category: Target version: 1.5.4 Keywords: Branch: 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://reductivelabs.com/redmine/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.
