mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #8184 from yasn77/use_puppet_facts
Enable puppet facts
This commit is contained in:
commit
3a89cbdfa5
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ def run_setup(module):
|
|||
# if facter is installed, and we can use --json because
|
||||
# ruby-json is ALSO installed, include facter data in the JSON
|
||||
if facter_path is not None:
|
||||
rc, out, err = module.run_command(facter_path + " --json")
|
||||
rc, out, err = module.run_command(facter_path + " --puppet --json")
|
||||
facter = True
|
||||
try:
|
||||
facter_ds = json.loads(out)
|
||||
|
|
Loading…
Reference in a new issue