Issue #1587 has been updated by jamtur01.

Status changed from Unreviewed to Duplicate

Duplicate of #1547.
----------------------------------------
Bug #1587: Facter generates unusable facts for subinterfaces interfaces.
http://projects.reductivelabs.com/issues/show/1587

Author: teyo
Status: Duplicate
Priority: Normal
Assigned to: 
Category: 
Target version: 1.5.3
Complexity: Trivial
Keywords: 


This was submitted as a puppet bug:

http://projects.reductivelabs.com/issues/show/1145

Should have been fixed, but the issue still persists.  Basically interface 
related facts are collected in ipmess.rb and a regular expression is used to 
convert the interface string from "interfaces_name":"subinterface_number" to 
"interface_name"_"subinterface_number" i.e.

eth0:0 -> eth0_0

The fact that is stored for these interfaces should then be $ipaddress_eth0_0 = 
"assigned address" but we still get $ipaddress_eth0:0 because the regex is 
broken.  Ruby will not allow colons in variable names nor will puppet so the 
fact $ipaddress_eth0:0 is not unusable within manifests or templates.

Tr

 




----------------------------------------
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://reductivelabs.com/redmine/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