From ce2c14757d00d9efa80952c52eae176c74470be5 Mon Sep 17 00:00:00 2001 From: Michael Leer Date: Thu, 17 Aug 2017 20:30:21 +0100 Subject: [PATCH] the use of --puppet has been deprecated (#23356) --- lib/ansible/modules/system/facter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/system/facter.py b/lib/ansible/modules/system/facter.py index 53b0cdbb57..829bbe4eee 100644 --- a/lib/ansible/modules/system/facter.py +++ b/lib/ansible/modules/system/facter.py @@ -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))