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