Skip to content

Commit

Permalink
[#4594] Reintroduce fix for puppetlabs#1291 from original patch
Browse files Browse the repository at this point in the history
The reverted patch contains a fix for puppetlabs#1291 that is desired. This commit
reintroduces that change.
  • Loading branch information
Rein Henrichs committed Aug 24, 2010
1 parent 44e5332 commit fca8861
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/facter/domain.rb
Expand Up @@ -9,9 +9,6 @@
domain = Facter::Util::Resolution.exec('dnsdomainname')
next domain if domain =~ /.+\..+/

domain = Facter::Util::Resolution.exec('domainname')
next domain if domain =~ /.+\..+/

if FileTest.exists?("/etc/resolv.conf")
domain = nil
search = nil
Expand Down

0 comments on commit fca8861

Please sign in to comment.