Issue #13291 has been updated by Krzysztof Wilczynski.

Ken Barber wrote:

> Good question. We can't support : or . because these are illegal in Puppet 
> variable names.

I wonder if this means that if you have both eth0:0 and eth0.0, then subsequent 
will over-write the first value?

> If we had structured facts (hashes and arrays) - the hash key/value for the 
> interface would of course support any chars you would like.

GO team Ken GO :)

KW
----------------------------------------
Bug #13291: Can't reconstitute subinterface/VLAN names from facter.
https://projects.puppetlabs.com/issues/13291#change-58429

Author: Trevor Vaughan
Status: Unreviewed
Priority: High
Assignee: 
Category: library
Target version: 
Keywords: interface, subinterface, vlan, tagging, reverse
Branch: 
Affected Facter version: 1.6.6


So, I see in the bug tracker where facter replaces all instances of '.' and ':' 
with '_' when looking at interfaces.

However, I don't know how I can tell whether or not this is a subinterface or a 
VLAN tag.

eth0:0 ~> eth0_0
eth0.0 ~> eth0_0

So, how can I reverse eth0_0 to the proper starting item?


-- 
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.

Reply via email to