Skip to content

Commit 949f8c4

Browse files
Stop using legacy facts
1 parent 5c5c15c commit 949f8c4

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)