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

puppet: ensure puppet is in live mode per default
reviewable/pr18780/r1
Brian Coca 10 years ago
commit c1d6023d98

@ -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)

Loading…
Cancel
Save