the use of --puppet has been deprecated (#23356)

This commit is contained in:
Michael Leer 2017-08-17 20:30:21 +01:00 committed by ansibot
parent 25a9ababcc
commit ce2c14757d

View file

@ -46,7 +46,7 @@ def main():
facter_path = module.get_bin_path('facter', opt_dirs=['/opt/puppetlabs/bin'])
cmd = [facter_path, "--puppet", "--json"]
cmd = [facter_path, "--json"]
rc, out, err = module.run_command(cmd, check_rc=True)
module.exit_json(**json.loads(out))