Skip to content

Commit

Permalink
Merge pull request #2508 from joshcooper/bump_puppet_facts_beaker5
Browse files Browse the repository at this point in the history
Update the acceptance:facts rake task for beaker 5
  • Loading branch information
mhashizume authored Apr 9, 2024
2 parents 2bd6230 + d5a661c commit 589b3eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acceptance/util/puppet_facts_output.rb
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ def filename_from_facts(facts)
end

agents.each do |agent|
on agent, facter('--show-legacy -p -j'), :acceptable_exit_codes => [0] do
facts = JSON.parse(stdout)
on(agent, facter('--show-legacy -p -j'), :acceptable_exit_codes => [0]) do |result|
facts = JSON.parse(result.stdout)
facter_major_version = facts['facterversion']
primary_network = facts['networking']['primary']

Expand Down

0 comments on commit 589b3eb

Please sign in to comment.