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:
parent
25a9ababcc
commit
ce2c14757d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue