Open perfecto25 opened 8 years ago
not really an issue, but a comment this facter requires a confine, otherwise my linux hosts reporting chocolatey path with 'facter -p'
require 'pathname' require Pathname.new(FILE).dirname + '../' + 'puppet_x/chocolatey/chocolatey_install'
Facter.add('choco_install_path') do confine :kernel => windows setcode do PuppetX::Chocolatey::ChocolateyInstall.install_path end end
I think this may have been confined in puppetlabs-chocolatey. We will see if updating that will fix this issue or not. Thanks
not really an issue, but a comment this facter requires a confine, otherwise my linux hosts reporting chocolatey path with 'facter -p'
require 'pathname' require Pathname.new(FILE).dirname + '../' + 'puppet_x/chocolatey/chocolatey_install'
Facter.add('choco_install_path') do confine :kernel => windows setcode do PuppetX::Chocolatey::ChocolateyInstall.install_path end end