Issue #19068 has been updated by Sébastien Le Ray. File raw_interfaces.rb added
Here is a custom fact to get raw interfaces list, see [the official guide](http://docs.puppetlabs.com/guides/custom_facts.html) to use it. ---------------------------------------- Bug #19068: Facter interfaces fact is broken for subinterfaces https://projects.puppetlabs.com/issues/19068#change-82551 Author: Sébastien Le Ray Status: Unreviewed Priority: Normal Assignee: Category: Target version: Keywords: Branch: Affected Facter version: "interfaces" fact should contain the list of network interfaces for an host. Problem is that is contains **escaped** interfaces names, that is . and : are escaped to _ This makes it rather unusable for any element needing to operate on subinterfaces (eg. eth0:1) since there is no way to know what was the original interface name (eth0:1 and eth0.1 both result in eth0_1. This is caused by the call to `alphafy` in `facter/interfaces.rb`, but simply removing it may cause issues with existing code, so maybe adding another fact (raw_interfaces?) would be a better option. Note that you can workaround this bug using custom fact. -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
