1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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