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

2016-06-09 Thread Stefan Lasiewski (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Stefan Lasiewski commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
Branan Riley : Are you able to provide information on some workarounds, as you said in January? 
We just got bit on this, and it's causing some bad behavior on some of our boxes. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-27 Thread Branan Riley (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Branan Riley commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
Given 1) how terribly trying to do this in 2.x broke people and 2) This is the actual behavior of Facter 3 right now, we're not going to do this in Facter 2. 
I'll get some information on some workarounds up here soon so folks who are stuck on Facter 2 can figure out their ipaddress when they have weird interface names 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-25 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
Roman Mueller, Poil (and watchers): we've decided to revert this fix and release facter 2.4.6 with that change. Thank you for your comments. 
Users who want a fix for this issue can move up to facter 3.x. It's TBD whether we'll return and attempt to fix this in facter 2.x. I'll move this ticket to Needs Information to reflect that. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-25 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg updated an issue 
 
 
 
 
 
 
 
 
 
 

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

Change By:
 
 Kylo Ginsberg 
 
 
 

Affects Version/s:
 
 FACT 2.4.6 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-23 Thread Roman Mueller (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Roman Mueller commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
I generally don't disagree with the change of $::ipaddress, I think it makes sense. 
But this was pushed out in a minor backwards-compatible bug-fix release. How was this change classified as a bug-fix?! 
Until this change $::ipaddress was documented as: "On the Unixes, does an ifconfig and returns the first non 127.0.0.0/8 subnetted IP it finds." 
This clearly changes the behaviour some have relied on. For some this could be a breaking change - and it wasn't even mentioned in the announcement e-mail! I don't think it should have been released in a minor version release. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-22 Thread Poil (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Poil commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
Hi, 
On our production we have 3 network interfaces. 
 

Admin (first iface),
 

Backup (2nd iface)
 

Production (3rd iface)
 
 
Before the admin interface address was equal to $::ipaddress, except in some very rare case (in this case we were configuring service manually), the listen address for some administration service was determined via $:ipaddress. Now when we don't have a loadbalancer, the fact $::ipaddress is the value of the production interface. 
I really don't understand why you change this fact, it's a fact, it's was the IP address of the first interface, you can't change a fact in each version or it's not more a fact. 
You had to create a new fact, ipaddress_public, ipaddress_of_default_route or what you want but changing a fact is totally crazy. 
Best regards, 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-22 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
@poil can you provide any details on what is broken? FACT-1316 was reported against 2.4.5, so we'll certainly be looking at that, but if there's some other problem, we'd love to fix it stat. Thanks! 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-21 Thread Poil (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Poil commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
This major change is a fucking joke, you've just broken all our production ! 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-20 Thread Sean Griffin (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Sean Griffin assigned an issue to Unassigned 
 
 
 
 
 
 
 
 
 
 

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

Change By:
 
 Sean Griffin 
 
 
 

Assignee:
 
 Sean Griffin 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-20 Thread Kenn Hussey (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kenn Hussey updated an issue 
 
 
 
 
 
 
 
 
 
 

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

Change By:
 
 Kenn Hussey 
 
 
 

Flagged:
 
 Impediment 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-15 Thread Chun Du (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Chun Du assigned an issue to Eric Thompson 
 
 
 
 
 
 
 
 
 
 

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

Change By:
 
 Chun Du 
 
 
 

Assignee:
 
 qa Eric Thompson 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-15 Thread Chun Du (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Chun Du assigned an issue to Sean Griffin 
 
 
 
 
 
 
 
 
 
 

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

Change By:
 
 Chun Du 
 
 
 

Assignee:
 
 Eric Thompson Sean Griffin 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-15 Thread Branan Riley (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Branan Riley updated an issue 
 
 
 
 
 
 
 
 
 
 

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

Change By:
 
 Branan Riley 
 
 
 

Release Notes:
 
 Bug Fix 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-15 Thread Branan Riley (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Branan Riley updated an issue 
 
 
 
 
 
 
 
 
 
 

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

Change By:
 
 Branan Riley 
 
 
 

Release Notes Summary:
 
 Previously, Facter would use the first interface returned by 'ifconfig' as the primary interface for the ipaddress/macaddress/netmask facts.On Linux. It now determines the primary interface by looking for the default route and using the interface specified there. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-14 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg assigned an issue to qa 
 
 
 
 
 
 
 
 
 
 

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

Change By:
 
 Kylo Ginsberg 
 
 
 

Status:
 
 Ready for  CI  Test 
 
 
 

Assignee:
 
 qa 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-13 Thread Kenn Hussey (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kenn Hussey updated an issue 
 
 
 
 
 
 
 
 
 
 

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

Change By:
 
 Kenn Hussey 
 
 
 

Flagged:
 
 Impediment 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-13 Thread Eric Thompson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Thompson updated an issue 
 
 
 
 
 
 
 
 
 
 

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

Change By:
 
 Eric Thompson 
 
 
 

QA Risk Probability:
 
 Low 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-13 Thread Eric Thompson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Thompson updated an issue 
 
 
 
 
 
 
 
 
 
 

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

Change By:
 
 Eric Thompson 
 
 
 

QA Risk Severity:
 
 Medium 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-13 Thread Eric Thompson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Thompson updated an issue 
 
 
 
 
 
 
 
 
 
 

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

Change By:
 
 Eric Thompson 
 
 
 

QA Risk Assessment:
 
 Medium 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-13 Thread Branan Riley (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Branan Riley assigned an issue to Branan Riley 
 
 
 
 
 
 
 
 
 
 

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

Change By:
 
 Branan Riley 
 
 
 

Assignee:
 
 Branan Riley 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-13 Thread Steve Barlow (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Steve Barlow updated an issue 
 
 
 
 
 
 
 
 
 
 

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

Change By:
 
 Steve Barlow 
 
 
 

Sprint:
 
 Client 2016-01-13 , Client 2016-01-27 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-12 Thread Eric Sorenson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Sorenson commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
Jason Ashby - the puppet-agent all-in-one bundle uses Facter 3 which has a reimplementation of this logic in c++ which may be subject to similar guesswork: https://github.com/puppetlabs/facter/blob/master/lib/src/facts/resolvers/networking_resolver.cc#L60-L67 
But it's got built-in support for a top-level networking hash which contains all the info for the probed interfaces on the host, allowing you to enumerate them in a much more reasonable way: 
 
 
 
 
 
 
{ 
 
 
 
 
  dhcp => "192.168.82.254", 
 
 
 
 
  domain => "vmlocal", 
 
 
 
 
  fqdn => "deglitch.vmlocal", 
 
 
 
 
  hostname => "deglitch", 
 
 
 
 
  interfaces => { 
 
 
 
 
eth0 => { 
 
 
 
 
  bindings => [ 
 
 
 
 
{ 
 
 
 
 
  

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

2016-01-12 Thread Branan Riley (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Branan Riley commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
Jason AshbyEric Sorenson We have implementations to find the primary interface on Linux, Solaris, Windows, and AIX. Barring a situation where a machine somehow doesn't have a default route (in which case "pick an interface at random" is sort of the best we've got) this should behave correctly in the puppet-agent bundles. 
This ticket is at this point just tracking backporting this behavior to Facter 2 for those that can't yet upgrade 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-12 Thread Jason Ashby (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jason Ashby commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
Eric Sorenson is this issue addressed in the Puppet 4 "bundle"? 
Another workaround for those interested... Instead of using a custom fact, you can override facter variables with an environment variable, e.g. 
 
 
 
 
 
 
# /etc/environment 
 
 
 
 
FACTER_ipaddress=172.20.2.2
 
 
 
 
 
 
 
just prefix any fact name with FACTER_ and add to your global environment file (/etc/environment for me on CentOS 6). (Side note - if you're testing via puppet agent -t, be sure to source that environment file (or log out and back in) in order to realize the change.) 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit 

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

2016-01-06 Thread Eric Sorenson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Sorenson updated an issue 
 
 
 
 
 
 
 
 
 
 

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

Change By:
 
 Eric Sorenson 
 
 
 

Fix Version/s:
 
 FACT 2.4.5 
 
 
 

Fix Version/s:
 
 PE 3.8.4 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-06 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg updated an issue 
 
 
 
 
 
 
 
 
 
 

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

Change By:
 
 Kylo Ginsberg 
 
 
 

Scrum Team:
 
 Client Platform 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-06 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg updated an issue 
 
 
 
 
 
 
 
 
 
 

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

Change By:
 
 Kylo Ginsberg 
 
 
 

Story Points:
 
 2 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-06 Thread Eric Sorenson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Sorenson commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
PE 3.8 will likely be supported through the end of 2016 and there's a very long tail of Ruby facter users, so I don't think that deferring a fix is the right way to go. I agree with Adam T Backer's proposed code implementation (address of the interface through which the default route goes) and would be OK with this going out in a x.Y release of facter that could be bundled into a PE3.8.x maint release. Though semver lawyers may argue that this is a backwards-incompatible change, we have established precedent for correcting erroneous resolution of facts, and I would suggest that the current code is brain-dead enough to be erroneous. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-06 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg updated an issue 
 
 
 
 
 
 
 
 
 
 

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

Change By:
 
 Kylo Ginsberg 
 
 
 

Scope Change Reason:
 
 Identified as a candidate for upcoming PE Z release. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-06 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg updated an issue 
 
 
 
 
 
 
 
 
 
 

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

Change By:
 
 Kylo Ginsberg 
 
 
 

Scope Change Category:
 
 Adopted 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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

2016-01-06 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg updated an issue 
 
 
 
 
 
 
 
 
 
 

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

Change By:
 
 Kylo Ginsberg 
 
 
 

Sprint:
 
 Client 2016-01-13 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://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-11-12 Thread Owen Rodabaugh (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Owen Rodabaugh updated an issue 
 
 
 
 
 
 
 
 
 
 

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

Change By:
 
 Owen Rodabaugh 
 
 
 

CS Priority:
 
 Needs Priority Reviewed 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-11-02 Thread Erik Hansen (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Erik Hansen updated an issue 
 
 
 
 
 
 
 
 
 
 

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

Change By:
 
 Erik Hansen 
 
 
 

CS Priority:
 
 Needs Priority 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-11-02 Thread Byron Miller (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Byron Miller commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
Just wanted to throw in my 2 cents, important to get resolution on this - something like what has been recommended to use default route. Doing lots of docker and I too have the problem of foreman incorporating these interfaces and blowing up.  
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-06-19 Thread BJ Taylor (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 BJ Taylor commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
I liked the script submitted by Jason Hane, but it didn't work for me. I'm running ubuntu 14.04, facter 2.4.4, and python 2.7.6. So I fixed it so that it would work on my system. Submitting it here in case it is helpful to anyone else. 
 
require 'facter' require 'facter/core/execution' 
default_interface = nil ipaddress = nil if File.exist? '/sbin/route' interfaces = Facter::Core::Execution.exec('/sbin/route') if interfaces interfaces.split(\n).each do |inf| if /^default/.match(inf) default_interface = inf.split()[-1] end end end end 
if File.exist? '/sbin/ip' if default_interface lines = Facter::Core::Execution.exec(/sbin/ip addr show dev # 

Unknown macro: {default_interface} 
) lines.split(\n).each do |line| line.strip! if /^inet .*#
 
/.match(line) ipaddress = /(\d 

Unknown macro: {1,3} 
\.\d
 
\.\d 

Unknown macro: {1,3} 
\.\d
 
)\/\d 

Unknown macro: {1,2} 
 
/.match(line)[1] end end end 
 Facter.add(default_interface) do setcode do default_interface end end Facter.add(default_ipaddress) do setcode do ipaddress end end end
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
   

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

2015-04-09 Thread Sam Weston (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Sam Weston commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
Thanks for the updates! 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-04-08 Thread Branan Riley (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Branan Riley commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
This may actually already be the case in facter 3. I'm poking the networking code now. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-04-08 Thread Branan Riley (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Branan Riley commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
Yup, this is the case in cfacter at present. So this will be resolved when we ship Facter 3. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-04-08 Thread Roger Ignazio (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Roger Ignazio commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
I was talking to Branan Riley about this today and we want to consider improving this logic for Facter 3. As several people have stated above, it seems sane to use the default route to determine the interface used to populate the ipaddress fact. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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

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.


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-01-30 Thread Sam Weston (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Sam Weston commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
This fix is much less hacky than mine and won't break when facter updates, so thanks. However I think this is definitely a problem with puppet behaviour and could be triggered in any situation where the primary network interface isn't at the top of the ifconfig list. If I weren't so hopeless at writing code I'd rewrite the ruby method to use default route and use the 'ip' command instead of 'ifconfig' for newer distributions that support it. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-01-28 Thread Sam Weston (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Sam Weston updated an issue 
 
 
 
 
 
 
 
 
 
 


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

Change By:
 
 Sam Weston 
 
 
 

Affects Version/s:
 
 FACT2.4.0 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-01-28 Thread Sam Weston (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Sam Weston commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
Your code didn't work properly for me. Instead I used: 
 
 
 
 
 
 
default_route_interface = Facter::Util::Resolution.exec('ip route show |grep default|cut -d   -f 5') 
 
 
 
 
output = Facter::Util::IP.exec_ifconfig([#{default_route_interface} 2/dev/null])}}
 
 
 
 
 
 
 
It's horribly hacky but it works. 
This is really causing us problems since introducing docker a few days ago. Please fix it! 
Thanks 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-01-28 Thread Neil Katin (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Neil Katin commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
I agree this is really annoying; unfortuately it issue falls in the cracks between docker and puppet, and only effects those who use both. 
This is how we worked around the issue, without needing to change docker, puppet, or our puppet configurations. 
We changed the docker startup scripts to use a bridge named 'zzdocker0' instead of 'docker0'. This is clearly a hack, but it was effective enough to prevent problems. 
Here's the systemd file we used to automate that change: 
 
 
 
 
 
 
docker.service 
 
 
 
 
 
 
[Unit] 
 
 
 
 
Description=Docker Application Container Engine 
 
 
 
 
Documentation=http://docs.docker.com 
 
 
 
 
After=network.target docker.socket 
 
 
 
 
Requires=docker.socket 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
[Service] 
 

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

2014-11-25 Thread Adam T Backer (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Adam T Backer commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
Quick hacky little workaround, tested on Ubuntu 14.04 and CentOS 6.3/4/5: 
in facter/ipaddress.rb: 
 
 
 
 
 
 
 31 default_route_interface = Facter::Util::Resolution.exec('ip route show |grep default|grep -Po (?=dev ).*$') 
 
 
 
 
 32 output = Facter::Util::IP.exec_ifconfig([#{default_route_interface} 2/dev/null])
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.7#6337-sha1:2ed701e) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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

2014-11-20 Thread Tomas Barton (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Tomas Barton commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
I think getting the main $ipaddress fact from default route is a good idea. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.7#6337-sha1:2ed701e) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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

2014-11-20 Thread Adam T Backer (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Adam T Backer commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
This bug represents a big issue when using Foreman, which relies on Puppet to do sane things with $ipaddress. In this case, all hosts running docker will update themselves with the same IP address (172.17.42.1).  
If you then attempt to edit any settings underneath the host via the Foreman UI, it will complain that it is unable to save your changes because  
 

The configured IP Address does not match the Subnet the host is configured for (foreman-smart-proxy for DHCP), if you are using foreman to manage IP association.
 

The IP address is already in use by every other node with Docker setup.
 
 
In our case, we use Foreman as a source of truth and an external fact provider for Foreman parameters. This prevents us from editing these values using the UI. I have not yet tested if parameters can be manipulated via the API as an alternative but I believe they may.  
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.7#6337-sha1:2ed701e) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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

2014-11-20 Thread Neil Katin (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Neil Katin commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
Speaking as a foreman/puppet/docker user, Adam's proposed default route selects ipaddress change would solve our use cases. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.7#6337-sha1:2ed701e) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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

2014-11-19 Thread Adam T Backer (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Adam T Backer commented on  FACT-380 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Private ipaddress is used as ipaddress fact  
 
 
 
 
 
 
 
 
 
 
I dont think factor should ignore private ip addresses. This would eliminate a lot of use cases.  
I think the proper logic for $ipaddress should be to assign the ip address of the interface that provides access to the default route.  
so, in this case: 
 
 
 
 
 
 
root@dns101:~$ ip route show|grep default 
 
 
 
 
default via 10.7.119.254 dev eth0
 
 
 
 
 
 
 
ipaddress == ipaddress_eth0 
Certainly picking the highest alphabetical is very unlikely to produce a value for $ipaddress that would be desired. Given that we have $ipaddress_$ {interface} 
 for all interfaces, the only thing potentially missing would be a variable that defines the ip address on an interface for each configured route.  
i.e. given: 
 
 
 
 
 
 
xoom@dns101:~$ ip route show 
 
 
 
 
default via 10.7.119.254 dev eth0 
 
 
 
 
10.7.112.0/21 dev eth0  proto kernel  scope link  src 10.7.113.1 
 
 
 
 
172.17.0.0/16 dev docker0  proto kernel  scope link  src 172.17.42.1
 
 
 
 
 
 
 
   

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

2014-03-13 Thread Tomas Barton (JIRA)
Title: Message Title










 

 Tomas Barton created an issue


















 Facter /  FACT-380



  Private ipaddress is used as ipaddress fact 










Issue Type:

  Bug




Affects Versions:


 1.7.4




Assignee:

 Adrien Thebo




Components:


 Community




Created:


 13/Mar/14 7:11 AM




Priority:

  Normal




Reporter:

 Tomas Barton










After adding docker interface all servers have the same :ipaddress fact. It seems that Facter is using the very first alphabetically sorted interface as the primary one.
docker0 Link encap:Ethernet HWaddr 12:de:2d:b1:9d:14 inet addr:172.17.42.1 Bcast:0.0.0.0 Mask:255.255.0.0
eth0 Link encap:Ethernet HWaddr 00:25:90:d1:d1:7a inet addr: ...
I think facter should ignore private addresses if there is an interface with a public ipaddress.
https://github.com/deric/puppet-mesos/pull/1












   

   

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

2014-03-13 Thread Adrien Thebo (JIRA)
Title: Message Title










 

 Adrien Thebo assigned an issue to Unassigned


















 Facter /  FACT-380



  Private ipaddress is used as ipaddress fact 










Change By:

 Adrien Thebo




Assignee:

 AdrienThebo












   

 Add Comment






















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














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

2014-03-13 Thread Adrien Thebo (JIRA)
Title: Message Title










 

 Adrien Thebo updated an issue


















 Facter /  FACT-380



  Private ipaddress is used as ipaddress fact 










Change By:

 Adrien Thebo




Component/s:

 Community












   

 Add Comment






















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














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