Remove advertising show_diff feature

--diff will be added to more modules soon, and we want puppet module to utilize this instead of show_diff
This commit is contained in:
Jonathan Mainguy 2016-01-06 09:49:02 -05:00 committed by Matt Clay
parent 1c8ad72b7b
commit badef2912b

View file

@ -47,12 +47,6 @@ options:
- Path to the manifest file to run puppet apply on. - Path to the manifest file to run puppet apply on.
required: false required: false
default: None default: None
show_diff:
description:
- Should puppet return diffs of changes applied. Defaults to off to avoid leaking secret changes by default.
required: false
default: no
choices: [ "yes", "no" ]
facts: facts:
description: description:
- A dict of values to pass in as persistent external facter facts - A dict of values to pass in as persistent external facter facts
@ -113,7 +107,7 @@ def main():
puppetmaster=dict(required=False, default=None), puppetmaster=dict(required=False, default=None),
manifest=dict(required=False, default=None), manifest=dict(required=False, default=None),
show_diff=dict( show_diff=dict(
default=False, aliases=['show-diff'], type='bool'), default=False, aliases=['show-diff'], type='bool'), # internal code to work with --diff, do not use
facts=dict(default=None), facts=dict(default=None),
facter_basename=dict(default='ansible'), facter_basename=dict(default='ansible'),
environment=dict(required=False, default=None), environment=dict(required=False, default=None),