We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
I think this may have been confined in puppetlabs-chocolatey. We will see if updating that will fix this issue or not. Thanks
Sorry, something went wrong.
Merge pull request chocolatey-archive#136 from puppetlabs/pdksync_pdk…
60244c8
…sync_heads/master-0-g7281db5 pdksync - MODULES-8532 - pdksync_heads/master-0-g7281db5
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: