Skip to content

Commit

Permalink
Add support for RHEL 10 (#30)
Browse files Browse the repository at this point in the history
Signed-off-by: Lance Albertson <[email protected]>
  • Loading branch information
ramereth authored Nov 15, 2024
1 parent 650cc9f commit 7a7acc3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ This file is used to list changes made in each version of the cinc-omnibus cookb

## Unreleased

- Add support for RHEL-10

## 1.1.20 - *2024-07-31*

- Update rubygems_url to new Cinc rubygems server
Expand Down
2 changes: 2 additions & 0 deletions libraries/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ def omnibus_java_pkg
'java-11-openjdk-devel'
when 8, 9
'java-17-openjdk-devel'
when 10
'java-21-openjdk-devel'
end
when 'debian'
case node['platform_version'].to_i
Expand Down
3 changes: 2 additions & 1 deletion test/integration/cinc-omnibus/controls/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@
tar
tzdata
wget
zlib-devel
)
packages << %w(centos-release-scl devtoolset-10) if os_version.to_i == 7
packages << %w(glibc-langpack-en glibc-locale-source) if os_version.to_i >= 8
packages << %w(perl-FindBin perl-lib) if os_version.to_i >= 9
packages << %w(zlib-devel) if os_version.to_i < 10
packages << %w(zlib-ng-compat-devel) if os_version.to_i >= 10
when 'debian', 'ubuntu'
packages = %w(
automake
Expand Down

0 comments on commit 7a7acc3

Please sign in to comment.