diff --git a/lib/ansible/modules/system/setup.py b/lib/ansible/modules/system/setup.py index a28c037c745..c3f19eda170 100644 --- a/lib/ansible/modules/system/setup.py +++ b/lib/ansible/modules/system/setup.py @@ -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