#1158: Regression introduced by [388cf7c]
-----------------------------------------+----------------------------------
Reporter:  ctrlaltdel                    |        Owner:  community 
    Type:  defect                        |       Status:  new       
Priority:  normal                        |    Component:  library   
 Version:  0.24.3                        |     Severity:  normal    
Keywords:  facts fqdn domain regression  |        Stage:  Unreviewed
   Patch:  None                          |   Complexity:  Unknown   
-----------------------------------------+----------------------------------
 The fact domain is always empty and fqdn contains only the hostname after
 applying commit [388cf7c]

 In lib/puppet/network/handler/master.rb, we have

 {{{
            # Always use the hostname from Facter.
             client = facts["hostname"]
             clientip = facts["ipaddress"]
             if Puppet[:node_name] == 'cert'
                 if name
                     facts["fqdn"] = client
                     facts["hostname"], facts["domain"] = client.split('.',
 2)
                     client = name
 }}}

 which is equivalent to

 {{{
 facts["fqdn"] = facts["hostname"]
 }}}

 which is wrong.

-- 
Ticket URL: <http://reductivelabs.com/trac/puppet/ticket/1158>
puppet <http://reductivelabs.com>
Puppet - Portable System Automation
--~--~---------~--~----~------------~-------~--~----~
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