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

pull/28364/head
Michael Leer 7 years ago committed by ansibot
parent 25a9ababcc
commit ce2c14757d

@ -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))

Loading…
Cancel
Save