Issue #21533 has been reported by Josh Cooper.

----------------------------------------
Bug #21533: Facter prints errors to stderr on precise and f18
https://projects.puppetlabs.com/issues/21533

* Author: Josh Cooper
* Status: Accepted
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 1.7.x
* Keywords: f18 precise
* Branch: 
* Affected Facter version: 1.7.1
----------------------------------------
<pre>
Could not retrieve macaddress: undefined method `each_line' for nil:NilClass
Could not retrieve macaddress: undefined method `each_line' for nil:NilClass
Could not retrieve macaddress: undefined method `each_line' for nil:NilClass
Could not retrieve ipaddress6: undefined method `scan' for nil:NilClass
Could not retrieve netmask: undefined method `split' for nil:NilClass
</pre>

The problem is that these facts attempt to execute a command, and expect to be 
able to split, etc the output. The problem is that the command is failing and 
returning nil. The fact need to be more defensive in handling this.


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to