Sync with upstream ansible-modules-extras

The --show-diff option to puppet agent is show-diff, not show_diff.
Also, there is a doc string about which version logdest was added in.

These are not important for Infra. However, keeping in sync makes it
easier to track changes that might actually matter.

Change-Id: Id16b9d7510efa4b8f3645997617cd00ee870e83a
This commit is contained in:
Monty Taylor 2016-02-24 08:56:24 -06:00
parent 54064729df
commit c64119b530
1 changed files with 2 additions and 1 deletions

View File

@ -73,6 +73,7 @@ options:
required: false
default: stdout
choices: [ 'stdout', 'syslog' ]
version_added: "2.1"
requirements: [ puppet ]
author: "Monty Taylor (@emonty)"
'''
@ -185,7 +186,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: