Skip to content

Commit

Permalink
Merge pull request #725 from imaqsood/PA-6538
Browse files Browse the repository at this point in the history
(PA-6538) Update puppet acceptance tests for Alma Linux 9(x86_64)
  • Loading branch information
amitkarsale authored Jun 26, 2024
2 parents cae2480 + cef5f35 commit 5f9362a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion spec/classes/puppet_agent_osfamily_redhat_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,17 @@
}
end

[['Rocky', 'el/8', 8], ['AlmaLinux', 'el/8', 8], ['Fedora', 'fedora/f36', 36], ['CentOS', 'el/7', 7], ['Amazon', 'el/6', 2017], ['Amazon', 'el/6', 2018], ['Amazon', 'amazon/2', 2], ['Amazon', 'amazon/2023', 2023]].each do |os, urlbit, osmajor|
[
['Rocky', 'el/8', 8],
['AlmaLinux', 'el/8', 8],
['AlmaLinux', 'el/9', 9],
['Fedora', 'fedora/f36', 36],
['CentOS', 'el/7', 7],
['Amazon', 'el/6', 2017],
['Amazon', 'el/6', 2018],
['Amazon', 'amazon/2', 2],
['Amazon', 'amazon/2023', 2023],
].each do |os, urlbit, osmajor|
context "with #{os} and #{urlbit}" do
let(:facts) do
override_facts(super(), os: { name: os, release: { major: osmajor, }, })
Expand Down

0 comments on commit 5f9362a

Please sign in to comment.