Issue #1654 has been updated by lutter. Status changed from Unreviewed to Ready for Testing Assigned to set to lutter Complexity changed from Unknown to Easy Affected version deleted (0.24.4)
Facter doesn't guarantee that resolutions for the same fact (with the same number of confines) are executed in the order in which they are added. domain.rb assumes that resultions are performed in a specific order; in particular, on this machine, it checks domainname before looking at the hostname or dnsdomainname. I revamped domain.rb to use only one resolution without confines, and so that the various places from which to take the domain are looked at in the appropriate order. The patch is in the ticket/1654 branch at http://github.com/lutter/facter/tree/ticket%2F1654 ---------------------------------------- Bug #1654: Issues with domain name reporting in facter http://projects.reductivelabs.com/issues/show/1654 Author: rrati Status: Ready for Testing Priority: Normal Assigned to: lutter Category: Target version: Complexity: Easy Affected version: Keywords: Facter seems to have issues if the NIS domain and dns domain names are different. I have a system where the hostname is a FQDN, dnsdomainname produces the correct domain name, and NIS is configured with a different domain. So: hostname=host.lab.test.domain.com The outputs of the following commands would be: dnsdomainname=lab.test.domain.com nisdomainname=domain.com domainname=domain.com In this instance, running facter hostname domain will produce: host => host domain => domain.com The domain should be lab.test.domain.com, but facter is always returning the NIS domain name (likely from the domainname command) instead of the system's proper domain name. ---------------------------------------- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
