From 7404418cbd2235c277210f961bf0e2771edb3a04 Mon Sep 17 00:00:00 2001 From: Dale Smith Date: Thu, 28 Jan 2016 15:48:18 +0000 Subject: [PATCH] Fix regression of #821 in puppet of show_diff Issue #821 fix: 1382576100ee3b17f4eb28c7186d92376f370676 Regressed since: 6912ca0acaed0d738d8dd9867721d2ff0094084a Issue: #821 --- lib/ansible/modules/extras/system/puppet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/system/puppet.py b/lib/ansible/modules/extras/system/puppet.py index d4f69b1d51..e1d21624c4 100644 --- a/lib/ansible/modules/extras/system/puppet.py +++ b/lib/ansible/modules/extras/system/puppet.py @@ -175,7 +175,7 @@ def main(): if p['puppetmaster']: cmd += " --server %s" % pipes.quote(p['puppetmaster']) if p['show_diff']: - cmd += " --show-diff" + cmd += " --show_diff" if p['environment']: cmd += " --environment '%s'" % p['environment'] if module.check_mode: