Issue #3909 has been updated by James Turnbull. Category set to library Status changed from Unreviewed to Needs design decision
---------------------------------------- Bug #3909: Facter does not behave properly with non-existent top-level domains. http://projects.puppetlabs.com/issues/3909 Author: Joe McDonagh Status: Needs design decision Priority: Normal Assigned to: Category: library Target version: Keywords: Branch: On behalf of a puppet-users posted who did not want to create an additional login to file a bug: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hello, I was stumbling over the fact that I use a (not existing) toplevel domain in my environment. So I set up the dnsdomainname to print out the correct domain (without fullstop ('.')). Additional I limited the search path in resolv.conf to end with a '.'. That seems to tangle facter. As I read the code it needs a '.' anywhere in domainname to work and the fallback to parse /etc/resolv.conf cannot handle trailing '.'. The last is easy to handle by $1.sub(/\.$/, '') but the first I do not know how to handle correctly for every case (At least on debian there seems to be '(none)' if it is not defined correctly.) Could that go into upstream code respective how to fix the first case proper? Regards Klaus Ethgen - -- Klaus Ethgen http://www.ethgen.de/ pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <[email protected]> Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQEVAwUBS/xBU5+OKpjRpO3lAQpDUgf7B8gw4EqNTZO4HemjLzFRkR6tQqUm/fFm eHvzgjmfktshgxak8vrq0hvU6njC8BG/aloNvDBwdwJYFqn/L9iJRTVouqzp4G0Z pAiRGgFvn/itVuK5tpenuJF7nBtZkDjhDhNxwSCwxfc4l+aFPTSgj50Isor2cieQ iK0RXQH6O00vtvuFL8eWnHwTKD4hd4pCv2XSB4O3tprxZK8y7/NxdD5b/ikcv7VW s3K4iD6iqZozsN9uEEJIh1ZAbLLkmYBEYJOdtElj/pPw2gcdeLnZGF7P/H9vdu00 qU1KA7kyo8u4PuctCTvuBdMrtPHxg5MGt9HGfN1/1rgw7aBaO5IEzA== =Q4PY -----END PGP SIGNATURE----- -- 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://projects.puppetlabs.com/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.
