Skip to content

Commit

Permalink
feat(alma+rocky): add platforms (based on CentOS 8) [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Jul 1, 2021
1 parent e25a9a4 commit 5ac9cde
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions packages/osmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,11 @@ Fedora:
CentOS:
snaps:
packages: []

AlmaLinux:
snaps:
packages: []

Rocky:
snaps:
packages: []
4 changes: 2 additions & 2 deletions test/integration/default/controls/gems_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
progressbar
minitest
]
case platform[:name]
when 'centos', 'amazon', 'oracle'
case platform[:family]
when 'redhat'
wanted.delete('minitest')
end

Expand Down
2 changes: 1 addition & 1 deletion test/integration/default/controls/pkgs_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
when 'redhat'
platform_packages =
case platform_finger
when 'centos-8', 'oraclelinux-8'
when 'centos-8', 'oraclelinux-8', 'almalinux-8', 'rockylinux-8'
%w[python3-dnf-plugin-versionlock]
else
%w[yum-plugin-versionlock]
Expand Down

0 comments on commit 5ac9cde

Please sign in to comment.