Issue #12983 has been updated by Daniel Pittman.

Jason, I just wanted to follow up on this quickly: this fact has the same 
problem that the other proposals have, which is that they assume that there is  
*a* default gateway - which isn't actually the case.  Plenty of systems have 
more than one, and a fact that only covers some of the cases causes a bunch of 
problems when they are part of the core distribution.

If this works in your environment then there is no problem with using it 
through pluginsync or anything, or even distributing it as part of a module on 
the forge.  It just isn't appropriate to fold into the core of Facter.
----------------------------------------
Feature #12983: proposed default gateway fact (linux only)
https://projects.puppetlabs.com/issues/12983#change-56712

Author: Jason Corley
Status: Duplicate
Priority: Normal
Assignee: 
Category: library
Target version: 1.6.x
Keywords: 
Branch: 
Affected Facter version: 


I've created a new fact for the default gateway IP that I figured might be of 
some use and I don't have a github account currently, so I'm attaching it here. 
It's based on ipaddress.rb and confined to linux only because I don't have any 
other systems to test with.


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