Skip to content

Commit ed17a92

Browse files
authored
Merge pull request #46 from tvpartytonight/PA-5966
Stop using legacy facts
2 parents 5c5c15c + 949f8c4 commit ed17a92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/provider/host/parsed.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
require 'puppet/provider/parsedfile'
22

3-
case Facter.value(:osfamily)
3+
case Facter.value('os.family')
44
when 'Solaris'
55
hosts = '/etc/inet/hosts'
66
when 'windows'

0 commit comments

Comments
 (0)