From da567c805738ebc24a6b3ce2a842c9f43d910f19 Mon Sep 17 00:00:00 2001 From: Amit Karsale Date: Wed, 29 Jan 2025 15:36:50 +0530 Subject: [PATCH] (CAT-2207) Remove legacy facts --- tasks/st0361_uploading_facts.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/st0361_uploading_facts.rb b/tasks/st0361_uploading_facts.rb index f737901..6cc2643 100755 --- a/tasks/st0361_uploading_facts.rb +++ b/tasks/st0361_uploading_facts.rb @@ -4,7 +4,7 @@ require 'json' require 'open3' -path = if Facter.value(:osfamily).eql? 'windows' +path = if Facter.value(:'os.family').eql? 'windows' 'C:\\"Program Files"\\"Puppet Labs"\\Puppet\\bin\\' else '/opt/puppetlabs/bin/'