Jira (FACT-598) fqdn is concatenation of hostname -s and domainname instead of hostname -f

2014-07-14 Thread Adrien Thebo (JIRA)
Title: Message Title










 

 Adrien Thebo commented on an issue


















  Re: fqdn is concatenation of hostname -s and domainname instead of hostname -f 










This works around a corner case that we don't want to support, closing this as wontfix.












   

 Add Comment

























 Facter /  FACT-598



  fqdn is concatenation of hostname -s and domainname instead of hostname -f 







 Some systems have a hostname other than the concatenation of hostname and dnsdomainname. Or put differently, the {{hostname -s}} is not equal to {{hostname}}:   {noformat}  $ hostname -f  systemX.locationY.domain.tld  $ hostname  domain-systemX  {noformat}   This keeps the local hostname short yet detailed enough.   In that case, the right FQDN would b...















 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-598) fqdn is concatenation of hostname -s and domainname instead of hostname -f

2014-07-14 Thread Adrien Thebo (JIRA)
Title: Message Title










 

 Adrien Thebo updated an issue


















 Facter /  FACT-598



  fqdn is concatenation of hostname -s and domainname instead of hostname -f 










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.


Jira (FACT-598) fqdn is concatenation of hostname -s and domainname instead of hostname -f

2014-07-10 Thread Andy Parker (JIRA)
Title: Message Title










 

 Andy Parker assigned an issue to Adrien Thebo


















 Facter /  FACT-598



  fqdn is concatenation of hostname -s and domainname instead of hostname -f 










Change By:

 Andy Parker




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-598) fqdn is concatenation of hostname -s and domainname instead of hostname -f

2014-06-30 Thread Adrien Thebo (JIRA)
Title: Message Title










 

 Adrien Thebo updated an issue


















 Facter /  FACT-598



  fqdn is concatenation of hostname -s and domainname instead of hostname -f 










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.


Jira (FACT-598) fqdn is concatenation of hostname -s and domainname instead of hostname -f

2014-06-23 Thread Walter Doekes (JIRA)
Title: Message Title










 

 Walter Doekes created an issue


















 Facter /  FACT-598



  fqdn is concatenation of hostname -s and domainname instead of hostname -f 










Issue Type:

  Bug




Assignee:

 Eric Sorenson




Created:


 23/Jun/14 12:34 PM




Priority:

  Minor




Reporter:

 Walter Doekes










Some systems have a hostname other than the concatenation of hostname and dnsdomainname. Or put differently, the hostname -s is not equal to hostname:


$ hostname -f
systemX.locationY.domain.tld
$ hostname
domain-systemX



This keeps the local hostname short yet detailed enough.
In that case, the right FQDN would be obtained by concatenating the (short!) hostname -s with dnsdomanname:


$ hostname -s
systemX
$ dnsdomainname
locationY.domain.tld



However, facter fqdn returns this:


$ facter fqdn
domain-systemX.locationY.domain.tld
^-- wrong, should be: systemX.locationY.domain.tld



The github patch changes things so that on systems with hostname -f, that value is used instead.










Jira (FACT-598) fqdn is concatenation of hostname -s and domainname instead of hostname -f

2014-06-23 Thread Walter Doekes (JIRA)
Title: Message Title










 

 Walter Doekes updated an issue


















 Facter /  FACT-598



  fqdn is concatenation of hostname -s and domainname instead of hostname -f 










Change By:

 Walter Doekes









 Somesystemshaveahostnameotherthantheconcatenationofhostnameanddnsdomainname.Orputdifferently,the{{hostname-s}}isnotequalto{{hostname}}:{noformat}$hostname-fsystemX.locationY.domain.tld$hostnamedomain-systemX{noformat}Thiskeepsthelocalhostnameshortyetdetailedenough.Inthatcase,therightFQDNwouldbeobtainedbyconcatenatingthe(short!){{hostname-s}}with{{dnsdomanname}}:{noformat}$hostname-ssystemX$dnsdomainnamelocationY.domain.tld{noformat}However,facterfqdnreturnsthis:{noformat}$facterfqdndomain-systemX.locationY.domain.tld^--wrong,shouldbe:systemX.locationY.domain.tld{noformat}Thegithubpatchchangesthingssothatonsystemswith{{hostname-f}},thatvalueisusedinstead. https://github.com/puppetlabs/facter/pull/702












   

 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.