added new puppet path to bin search

fixes #1835
This commit is contained in:
Brian Coca 2016-03-11 10:09:05 -05:00 committed by Matt Clay
parent b1281319c1
commit 864bf4e19e

View file

@ -136,7 +136,7 @@ def main():
p = module.params
global PUPPET_CMD
PUPPET_CMD = module.get_bin_path("puppet", False)
PUPPET_CMD = module.get_bin_path("puppet", False, ['/opt/puppetlabs/bin'])
if not PUPPET_CMD:
module.fail_json(