Skip to content

Commit a8a2523

Browse files
authored
Merge pull request #194 from puppetlabs/CAT-2207-legacy
(CAT-2207) Remove legacy facts
2 parents 5f7cf00 + 5d90330 commit a8a2523

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/st0361_uploading_facts.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
require 'json'
55
require 'open3'
66

7-
path = if Facter.value(:osfamily).eql? 'windows'
7+
path = if Facter.value(:'os.family').eql? 'windows'
88
'C:\\"Program Files"\\"Puppet Labs"\\Puppet\\bin\\'
99
else
1010
'/opt/puppetlabs/bin/'

0 commit comments

Comments
 (0)