diff --git a/system/facter.py b/system/facter.py index a72cdc6536f..a4912835447 100644 --- a/system/facter.py +++ b/system/facter.py @@ -45,7 +45,7 @@ def main(): argument_spec = dict() ) - cmd = ["/usr/bin/env", "facter", "--json"] + cmd = ["/usr/bin/env", "facter", "--puppet", "--json"] rc, out, err = module.run_command(cmd, check_rc=True) module.exit_json(**json.loads(out))