Merge pull request #3073 from tonk/facter_fix

Fix facter path
This commit is contained in:
Brian Coca 2016-02-20 12:24:45 -05:00
commit 7901f54140

View file

@ -87,7 +87,7 @@ def run_setup(module):
# Look for the path to the facter and ohai binary and set
# the variable to that path.
facter_path = module.get_bin_path('facter')
facter_path = module.get_bin_path('facter', opt_dirs=['/opt/puppetlabs/bin'])
ohai_path = module.get_bin_path('ohai')
# if facter is installed, and we can use --json because