Skip to content

Commit

Permalink
(#140) fix gathering mcollective fact during cache generation
Browse files Browse the repository at this point in the history
On windows the lib dirs for the various projects are individual rather
than combined like on windows

This adds the mcollective lib dir to the LOAD_PATH ensuring the
mcollective fact can find the mcollective libraries
  • Loading branch information
ripienaar committed Oct 18, 2017
1 parent 70cba74 commit 4535d55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
|Date |Issue|Description |
|----------|-----|---------------------------------------------------------------------------------------------------------|
|2017/10/18|140 |Fix gathering mcollective facts from the fact cache builder |
|2017/10/18|138 |Allow plugins to supply additional Puppet files to copy into modules |
|2017/09/21| |Release 0.1.0 |
|2017/09/08|128-134|Support FreeBSD |
Expand Down
1 change: 1 addition & 0 deletions templates/refresh_facts.erb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ require "rubygems"

if Gem.win_platform?
$: << "C:/Program Files/Puppet Labs/Puppet/facter/lib"
$: << "C:/Program Files/Puppet Labs/Puppet/mcollective/lib"
end

require "yaml"
Expand Down

0 comments on commit 4535d55

Please sign in to comment.