Skip to content

Commit

Permalink
Merge pull request #2649 from cthorn42/maint/main/fix_typo_in_base_fa…
Browse files Browse the repository at this point in the history
…cts_test

(maint) Fix up a typo in the base_fact_utils test
  • Loading branch information
joshcooper authored Nov 28, 2023
2 parents f8a2f0a + c527a17 commit c250d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acceptance/lib/facter/acceptance/base_fact_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def el_expected_facts(agent)
expected_facts['os.distro.release.major'] = os_version
# Minor versions are not available in Amazon Linux < 2023 and has not
# yet been implemented in Facter for >= 2023
expected_facts['os.distro.release.minor'] = /\d/ unless os_name = 'Amazon'
expected_facts['os.distro.release.minor'] = /\d/ unless os_name == 'Amazon'
expected_facts['os.family'] = 'RedHat'
expected_facts['os.hardware'] = os_hardware
expected_facts['os.name'] = os_name
Expand Down

0 comments on commit c250d91

Please sign in to comment.