Skip to content
New issue

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

Choco_install_path facter #136

Open
perfecto25 opened this issue Jul 6, 2016 · 1 comment
Open

Choco_install_path facter #136

perfecto25 opened this issue Jul 6, 2016 · 1 comment

Comments

@perfecto25
Copy link

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

@ferventcoder
Copy link
Contributor

I think this may have been confined in puppetlabs-chocolatey. We will see if updating that will fix this issue or not. Thanks

DavidS pushed a commit to DavidS/puppetlabs-chocolatey that referenced this issue Nov 15, 2019
…sync_heads/master-0-g7281db5

pdksync - MODULES-8532 - pdksync_heads/master-0-g7281db5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants