Jira (FACT-1078) `facter fqdn` not returning the domain, only the hostname

2015-07-14 Thread Moses Mendoza (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Moses Mendoza commented on  FACT-1078 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: `facter fqdn` not returning the domain, only the hostname  
 
 
 
 
 
 
 
 
 
 
We believe this issue is keeping our classifier tests red - is there anything we can do to accelerate the introduction of a fix into PE?  
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.5#64020-sha1:78acd6c) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1078) `facter fqdn` not returning the domain, only the hostname

2015-07-14 Thread Michael Smith (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Michael Smith commented on  FACT-1078 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: `facter fqdn` not returning the domain, only the hostname  
 
 
 
 
 
 
 
 
 
 
According to https://jenkins.puppetlabs.com/view/PE%20AIO/job/platform_aio-suite_pkg-promote_stable-pe/ it should already have been promoted to PE. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.5#64020-sha1:78acd6c) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1078) `facter fqdn` not returning the domain, only the hostname

2015-07-01 Thread John Duarte (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 John Duarte assigned an issue to John Duarte 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1078 
 
 
 
  `facter fqdn` not returning the domain, only the hostname  
 
 
 
 
 
 
 
 
 

Change By:
 
 John Duarte 
 
 
 

Assignee:
 
 qa JohnDuarte 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-1078) `facter fqdn` not returning the domain, only the hostname

2015-07-01 Thread John Duarte (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 John Duarte commented on  FACT-1078 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: `facter fqdn` not returning the domain, only the hostname  
 
 
 
 
 
 
 
 
 
 
Using `puppet-agent` build `puppet-agent_1.1.1.239.g3d67503`, `facter` reports the correct `fqdn` value on Ubuntu-14.04-amd64. 
Confirm incorrect `fqdn` using puppet-agent 1.2.1 
 
 
 
 
 
 
root@r4q1bbzszn90u6j:~# dpkg -i puppet-agent_1.2.1-1trusty_amd64.deb 
 
 
 
 
root@r4q1bbzszn90u6j:~# /opt/puppetlabs/bin/facter --version 
 
 
 
 
3.0.1 (commit 9b1ef723a1494a01e0eccfe93a75fd43316690c2) 
 
 
 
 
root@r4q1bbzszn90u6j:~# /opt/puppetlabs/bin/facter fqdn 
 
 
 
 
r4q1bbzszn90u6j
 
 
 
 
 
 
 
Install patched build and confirm correct `fqdn` value 
 
 
 
 
 
 
root@r4q1bbzszn90u6j:~# dpkg -i puppet-agent_1.1.1.239.g3d67503-1trusty_amd64.deb  
 
 
 
 
root@r4q1bbzszn90u6j:~# /opt/puppetlabs/bin/facter --version 
 
 
 
 
3.0.1 (commit 97fcfb6395f3aba974d7ea103d516621942889f4) 
 
   

Jira (FACT-1078) `facter fqdn` not returning the domain, only the hostname

2015-06-30 Thread Michael Smith (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Michael Smith assigned an issue to qa 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1078 
 
 
 
  `facter fqdn` not returning the domain, only the hostname  
 
 
 
 
 
 
 
 
 

Change By:
 
 Michael Smith 
 
 
 

Status:
 
 Readyfor CI Test 
 
 
 

Assignee:
 
 qa 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-1078) `facter fqdn` not returning the domain, only the hostname

2015-06-30 Thread Eric Thompson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Thompson updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1078 
 
 
 
  `facter fqdn` not returning the domain, only the hostname  
 
 
 
 
 
 
 
 
 

Change By:
 
 Eric Thompson 
 
 
 

QA Highest Test Level Reason:
 
 nounittests,dependsuponnetworking,etc 
 
 
 

QA Risk Severity:
 
 Medium 
 
 
 

QA Risk Probability:
 
 Medium 
 
 
 

QA Risk Severity Reason:
 
 otherfactsasworkarounds? 
 
 
 

QA Risk Assessment:
 
 Medium 
 
 
 

QA Risk Probability Reason:
 
 lotsofuseofthisfact,butdependsonsomeweirdDNSresults 
 
 
 

QA Highest Test Level:
 
 Acceptance 
 
 
 

QA Status:
 
 Reviewed 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 

Jira (FACT-1078) `facter fqdn` not returning the domain, only the hostname

2015-06-29 Thread Tony Vu (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Tony Vu created an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1078 
 
 
 
  `facter fqdn` not returning the domain, only the hostname  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 FACT 3.0.1 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2015/06/29 10:47 AM 
 
 
 

Priority:
 
  Critical 
 
 
 

Reporter:
 
 Tony Vu 
 
 
 
 
 
 
 
 
 
 
facter fqdn is only returning the hostname, not the hostname + domain.  
 
 
 
 
 
 
root@sr5e304z21fa9yz:~# facter fqdn 
 
 
 
 
sr5e304z21fa9yz 
 
 
 
 
root@sr5e304z21fa9yz:~# facter hostname 
 
 
 
 
   

Jira (FACT-1078) `facter fqdn` not returning the domain, only the hostname

2015-06-29 Thread Peter Huene (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Peter Huene assigned an issue to Peter Huene 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1078 
 
 
 
  `facter fqdn` not returning the domain, only the hostname  
 
 
 
 
 
 
 
 
 

Change By:
 
 Peter Huene 
 
 
 

Assignee:
 
 PeterHuene 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-1078) `facter fqdn` not returning the domain, only the hostname

2015-06-29 Thread Peter Huene (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Peter Huene commented on  FACT-1078 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: `facter fqdn` not returning the domain, only the hostname  
 
 
 
 
 
 
 
 
 
 
Tony Vu Never mind, I'll attempt to reproduce it on one of the vmpooler instances with a configuration from one of the failed cells in the job mentioned above. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-1078) `facter fqdn` not returning the domain, only the hostname

2015-06-29 Thread Michael Smith (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Michael Smith updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1078 
 
 
 
  `facter fqdn` not returning the domain, only the hostname  
 
 
 
 
 
 
 
 
 

Change By:
 
 Michael Smith 
 
 
 

Scrum Team:
 
 ClientPlatform 
 
 
 

Story Points:
 
 2 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-1078) `facter fqdn` not returning the domain, only the hostname

2015-06-29 Thread Peter Huene (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Peter Huene commented on  FACT-1078 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: `facter fqdn` not returning the domain, only the hostname  
 
 
 
 
 
 
 
 
 
 
 
if the canonical name is not available, then ai_canonname shall refer to the nodename argument or a string with the same contents.
 
So that's what is happening, I believe. We need a fallback in the case resolver of: 
 
 
 
 
 
 
if (!data.hostname.empty()  data.fqdn.empty()) { 
 
 
 
 
data.fqdn = data.hostname + (data.domain.empty() ?  : .) + data.domain; 
 
 
 
 
+ } else if (!data.fqdn.empty()  !data.domain.empty()  data.fqdn.find('.') == string::npos) { 
 
 
 
 
+data.fqdn += . + data.domain; 
 
 
 
 
+ }
 
 
 
 
 
 
 
Michael Smith thoughts? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
   

Jira (FACT-1078) `facter fqdn` not returning the domain, only the hostname

2015-06-29 Thread Michael Smith (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Michael Smith updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1078 
 
 
 
  `facter fqdn` not returning the domain, only the hostname  
 
 
 
 
 
 
 
 
 

Change By:
 
 Michael Smith 
 
 
 

Fix Version/s:
 
 FACT3.0.2 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-1078) `facter fqdn` not returning the domain, only the hostname

2015-06-29 Thread Peter Huene (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Peter Huene commented on  FACT-1078 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: `facter fqdn` not returning the domain, only the hostname  
 
 
 
 
 
 
 
 
 
 
Bizarre. I'm getting a canonical name (what we use to populate fqdn for Facter 3) of sr5e304z21fa9yz.delivery.puppetlabs.net from the name server. The only way it should be set to just the hostname is if that is what the name server responded with. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-1078) `facter fqdn` not returning the domain, only the hostname

2015-06-29 Thread Peter Huene (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Peter Huene commented on  FACT-1078 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: `facter fqdn` not returning the domain, only the hostname  
 
 
 
 
 
 
 
 
 
 
Tony Vu Is there a VM where the problem is being observed we can use to test the fix on? This is an environment issue as for whatever reason the call to ask the name server for the node's canonical name is returning just the node name. I have a fix in mind, but I can't reproduce the problem locally. Thanks. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-1078) `facter fqdn` not returning the domain, only the hostname

2015-06-29 Thread Peter Huene (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Peter Huene updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1078 
 
 
 
  `facter fqdn` not returning the domain, only the hostname  
 
 
 
 
 
 
 
 
 

Change By:
 
 Peter Huene 
 
 
 

Sprint:
 
 Client2015-07-08 
 
 
 

Story Points:
 
 2 1 
 
 
 

Scope Change Reason:
 
 FoundandadoptedforSG. 
 
 
 

Scope Change Category:
 
 Found 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-1078) `facter fqdn` not returning the domain, only the hostname

2015-06-29 Thread Michael Smith (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Michael Smith commented on  FACT-1078 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: `facter fqdn` not returning the domain, only the hostname  
 
 
 
 
 
 
 
 
 
 
That seems weird, but should do it. Ruby Facter always reports fqdn as hostname.domain. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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.