aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/puppet/provider/host/parsed.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/provider/host/parsed.rb b/lib/puppet/provider/host/parsed.rb
index 64e6c60..1f82237 100644
--- a/lib/puppet/provider/host/parsed.rb
+++ b/lib/puppet/provider/host/parsed.rb
@@ -1,8 +1,8 @@
require 'puppet/provider/parsedfile'
-hosts = nil
case Facter.value(:osfamily)
-when 'Solaris' then hosts = '/etc/inet/hosts'
+when 'Solaris'
+ hosts = '/etc/inet/hosts'
when 'windows'
require 'win32/resolv'
hosts = Win32::Resolv.get_hosts_path