Issue #19068 has been updated by eric sorenson. Status changed from Unreviewed to Needs More Information Assignee set to Sébastien Le Ray
Hi Sébastien -- The reason for the escaping is that variable names with punctuation characters like `:`, `-`, `.` are not allowed in Puppet. When you preserve the punctuation in your fact, how do you reference it from puppet? I’ve put this ticket’s status into “Needs more Information” and assigned it to you. Please either (a) update it with the information I’ve requested and re-assign it to me if you need more help, or (b) change the status to “Closed” if you were able to resolve the issue on your own. ---------------------------------------- Bug #19068: Facter interfaces fact is broken for subinterfaces https://projects.puppetlabs.com/issues/19068#change-94525 * Author: Sébastien Le Ray * Status: Needs More Information * Priority: Normal * Assignee: Sébastien Le Ray * 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. For more options, visit https://groups.google.com/groups/opt_out.
