Would doing something such as subinterface_eth0_0 = 'true' or
vlan_eth0_0 = 'true' work?

It's more facter cruft, but it should work.

Alternatively, structured facts would be nice too.

Thanks,

Trevor

On Wed, Mar 21, 2012 at 11:08 AM,  <[email protected]> wrote:
> Issue #13291 has been updated by Ken Barber.
>
> Category set to library
>
> Good question. We can’t support : or . because these are illegal in Puppet
> variable names.
>
> If we had structured facts (hashes and arrays) – the hash key/value for the
> interface would of course support any chars you would like.
>
> ________________________________
>
> Bug #13291: Can't reconstitute subinterface/VLAN names from facter.
>
> 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



-- 
Trevor Vaughan
Vice President, Onyx Point, Inc
(410) 541-6699
[email protected]

-- This account not approved for unencrypted proprietary information --

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