Issue #3226 has been updated by Nigel Kersten.

Does your binary data include leading or trailing whitespace? Doesn't that send 
you bonkers if so? :)

My gut feeling is that it's reasonable for the base Facter distribution to 
strip whitespace in the included facts, but that it shouldn't be enforced on 
all custom facts, or there should be simple functionality to override it if it 
is enforced.


----------------------------------------
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.

Reply via email to