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:
parent
54064729df
commit
c64119b530
|
@ -73,6 +73,7 @@ options:
|
||||||
required: false
|
required: false
|
||||||
default: stdout
|
default: stdout
|
||||||
choices: [ 'stdout', 'syslog' ]
|
choices: [ 'stdout', 'syslog' ]
|
||||||
|
version_added: "2.1"
|
||||||
requirements: [ puppet ]
|
requirements: [ puppet ]
|
||||||
author: "Monty Taylor (@emonty)"
|
author: "Monty Taylor (@emonty)"
|
||||||
'''
|
'''
|
||||||
|
@ -185,7 +186,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…
Reference in New Issue