--
# Custom fact: checks if the WinDash feature flag file exists on the server. # Returns true if C:\Scripts\Opt\Mods\puppetfeatures\enable_windash is present. Facter.add('enable_windash') do confine kernel: 'windows' setcode do File.exist?('C:/Scripts/Opt/Mods/puppetfeatures/enable_windash') end end
--