Issue #4228 has been reported by Alan Barrett.
----------------------------------------
Bug #4228: macaddress facts should use leading zeros
http://projects.puppetlabs.com/issues/4228
Author: Alan Barrett
Status: Unreviewed
Priority: Normal
Assigned to:
Category:
Target version:
Affected version: 0.25.5
Keywords:
Branch:
facter macaddress omits leading zeros, giving results like "0:ab:cd:e:12:3"
where I would prefer the more conventional "00:ab:cd:0e:12:03".
workaround:
<pre>
$good_macaddress = inline_template('<%= macaddress.split(":").map{|x|
"0#{x}"[-2..-1]}.join(":") %>')
</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.