Merge pull request from resmo/fix/puppet-no-noop

puppet: ensure puppet is in live mode per default
This commit is contained in:
Brian Coca 2015-06-07 17:46:51 -04:00
commit c1d6023d98

View file

@ -156,10 +156,14 @@ def main():
cmd += " --show-diff"
if module.check_mode:
cmd += " --noop"
else:
cmd += " --no-noop"
else:
cmd = "%s apply --detailed-exitcodes " % base_cmd
if module.check_mode:
cmd += "--noop "
else:
cmd += "--no-noop "
cmd += pipes.quote(p['manifest'])
rc, stdout, stderr = module.run_command(cmd)