Issue #10490 has been updated by Ken Barber.
Looking at #10392 it would seem to me that the main problem is with
connectivity to your puppetmaster - not necessarily this fact not working. At
least thats where I would be looking first.
Although this is mac address problem is still a bug no doubt.
You can always confirm this by overloading the mac address fact using
environment variables:
FACTER_macaddress=00:a0:e0:11:12:13 puppet agent -t
(or some other random mac address)
If its still broken - the problem with puppetmaster connectivity probably isn't
the fact itself.
----------------------------------------
Bug #10490: macaddress fact errors when no macadress can be found
https://projects.puppetlabs.com/issues/10490
Author: Stefan Schulte
Status: Accepted
Priority: Normal
Assignee:
Category: library
Target version: 1.6.x
Keywords:
Branch:
Affected Facter version:
In `lib/facter/macaddress.rb` facter runs `ifconfig -a` on Linux and returns
the first occurrence of the following regex as the macaddress
<pre>
/(?:ether|HWaddr) (\w{1,2}:\w{1,2}:\w{1,2}:\w{1,2}:\w{1,2}:\w{1,2})/
</pre>
But facter does not handle the case where none of the printed lines actually
match the regular expression. E.g. (taken from #10392)
<pre>
# /sbin/ifconfig -a |egrep 'ether|HWaddr'
venet0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
venet0:0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
</pre>
Actual error message
<pre>
Could not retrieve macaddress: private method split' called for nil:NilClass
</pre>
--
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.