Issue #8240 has been updated by James Turnbull. Category set to library
---------------------------------------- Bug #8240: Facter domain logic does not permit "domain" or "search" as a substring of your domainname https://projects.puppetlabs.com/issues/8240 Author: Raymond Page Status: In Topic Branch Pending Merge Priority: Normal Assignee: Adrien Thebo Category: library Target version: Keywords: Branch: https://github.com/adrienthebo/facter/commits/ticket/master/8240-correct_domain_resolv_conf_regex Affected Facter version: In domain.rb This is incorrect: 20 if line =~ /domain\s+(\S+)/ 21 domain = $1 22 elsif line =~ /search\s+(\S+)/ 23 search = $1 24 end Better: 20 if line =~ /^\s*domain\s+(\S+)/ 21 domain = $1 22 elsif line =~ /^\s*search\s+(\S+)/ 23 search = $1 24 end -- 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.
