Jira (FACT-380) Private ipaddress is used as ipaddress fact

2015-03-01 Thread Jason Hane (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jason Hane commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
I worked around this by creating a custom fact to override the ipaddress fact. 
 
 
 
 
 
 
require 'facter' 
 
 
 
 
require 'facter/core/execution' 
 
 
 
 
  
 
 
 
 
if File.exist? '/sbin/ip' 
 
 
 
 
  interfaces = Facter::Core::Execution.exec('/sbin/ip route show') 
 
 
 
 
  default_interface = nil 
 
 
 
 
  ipaddress = nil 
 
 
 
 
  if interfaces 
 
 
 
 
interfaces.each do |inf| 
 
 
 
 
  if inf.match(/^default/) 
 
 
 
 
default_

Jira (FACT-380) Private ipaddress is used as ipaddress fact

2015-02-27 Thread Jason Hane (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jason Hane updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-380 
 
 
 
  Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 

Change By:
 
 Jason Hane 
 
 
 

Priority:
 
 Normal Major 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-380) Private ipaddress is used as ipaddress fact

2015-02-27 Thread Jason Hane (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jason Hane commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
This is a huge showstopper but an easy fix. I agree with using the default route's IP address. I think that is the most logical solution. Can we get a commitment for resolution? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.