Open
Description
Describe the Bug
Legacy facts present in the confine statement for custom facts. These are not compatible with Puppet 8 default setting to disable legacy fact collection.
puppetlabs-chocolatey/lib/facter/choco_install_path.rb
Lines 6 to 11 in f702de0
puppetlabs-chocolatey/lib/facter/choco_temp_dir.rb
Lines 6 to 11 in f702de0
puppetlabs-chocolatey/lib/facter/chocolateyversion.rb
Lines 6 to 12 in f702de0
Expected Behavior
Please update to the structured fact 'os.family' for Puppet 7 and 8 compatibility.
confine 'os.family': :windows
Should you wish to maintain backwards compatibility with Puppet 6, consider using a Ruby block.
confine 'os' do | os |
os['family'] == 'windows'
end
Additional Context
Reference: