Fix regression of #821 in puppet of show_diff

Issue #821 fix: 1382576100
Regressed since: 6912ca0aca

Issue: #821
pull/18777/head
Dale Smith 9 years ago committed by Matt Clay
parent 48c075d363
commit 7404418cbd

@ -175,7 +175,7 @@ def main():
if p['puppetmaster']: if p['puppetmaster']:
cmd += " --server %s" % pipes.quote(p['puppetmaster']) cmd += " --server %s" % pipes.quote(p['puppetmaster'])
if p['show_diff']: if p['show_diff']:
cmd += " --show-diff" cmd += " --show_diff"
if p['environment']: if p['environment']:
cmd += " --environment '%s'" % p['environment'] cmd += " --environment '%s'" % p['environment']
if module.check_mode: if module.check_mode:

Loading…
Cancel
Save