Skip to content

Commit dbe10f6

Browse files
hanwen-clusterhanwen-pcluste
authored andcommitted
Initial code change to add RHEL9 and Rock9
The initial tedious changes to add RHEL9 and Rock9 to Chef resources and kitchen tests Signed-off-by: Hanwen <[email protected]>
1 parent e4fee1f commit dbe10f6

File tree

82 files changed

+235
-95
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+235
-95
lines changed

.github/workflows/dokken-system-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
- ubuntu2204
3636
- rhel8
3737
- rocky8
38+
- rhel9
39+
- rocky9
3840
fail-fast: false
3941
steps:
4042
- uses: actions/checkout@main

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ This file is used to list changes made in each version of the AWS ParallelCluste
77
------
88

99
**ENHANCEMENTS**
10+
- Add support for RHEL9.
11+
- Add support for Rocky Linux 9 as `CustomAmi` created through `build-image` process. No public official ParallelCluster Rocky9 Linux AMI is made available at this time.
1012
- Add the configuration parameter `DeploymentSettings/DefaultUserHome` to allow users to move the default user's home directory to `/local/home` instead of `/home` (default).
1113
- Add possibility to choose between Open and Closed Source Nvidia Drivers when building an AMI, through the ```['cluster']['nvidia']['kernel_open']``` cookbook node attribute.
1214

cookbooks/aws-parallelcluster-environment/resources/cloudwatch/cloudwatch_redhat8.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# See the License for the specific language governing permissions and limitations under the License.
1414

1515
provides :cloudwatch, platform: 'redhat' do |node|
16-
node['platform_version'].to_i == 8
16+
node['platform_version'].to_i >= 8
1717
end
1818

1919
use 'partial/_cloudwatch_common'

cookbooks/aws-parallelcluster-environment/resources/cloudwatch/cloudwatch_rocky8.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# See the License for the specific language governing permissions and limitations under the License.
1414

1515
provides :cloudwatch, platform: 'rocky' do |node|
16-
node['platform_version'].to_i == 8
16+
node['platform_version'].to_i >= 8
1717
end
1818

1919
use 'partial/_cloudwatch_common'

cookbooks/aws-parallelcluster-environment/resources/ec2_udev_rules/ec2_udev_rules_redhat8.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied.
1414
# See the License for the specific language governing permissions and limitations under the License.
1515
provides :ec2_udev_rules, platform: 'redhat' do |node|
16-
node['platform_version'].to_i == 8
16+
node['platform_version'].to_i >= 8
1717
end
1818

1919
unified_mode true

cookbooks/aws-parallelcluster-environment/resources/ec2_udev_rules/ec2_udev_rules_rocky8.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied.
1414
# See the License for the specific language governing permissions and limitations under the License.
1515
provides :ec2_udev_rules, platform: 'rocky' do |node|
16-
node['platform_version'].to_i == 8
16+
node['platform_version'].to_i >= 8
1717
end
1818

1919
unified_mode true

cookbooks/aws-parallelcluster-environment/resources/efa/efa_redhat8.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# See the License for the specific language governing permissions and limitations under the License.
1414

1515
provides :efa, platform: 'redhat' do |node|
16-
node['platform_version'].to_i == 8
16+
node['platform_version'].to_i >= 8
1717
end
1818
unified_mode true
1919
default_action :setup

cookbooks/aws-parallelcluster-environment/resources/efa/efa_rocky8.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# See the License for the specific language governing permissions and limitations under the License.
1414

1515
provides :efa, platform: 'rocky' do |node|
16-
node['platform_version'].to_i == 8
16+
node['platform_version'].to_i >= 8
1717
end
1818
unified_mode true
1919
default_action :setup

cookbooks/aws-parallelcluster-environment/resources/efs/efs_redhat8.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# See the License for the specific language governing permissions and limitations under the License.
1414

1515
provides :efs, platform: 'redhat' do |node|
16-
node['platform_version'].to_i == 8
16+
node['platform_version'].to_i >= 8
1717
end
1818

1919
use 'partial/_get_package_version_rpm'

cookbooks/aws-parallelcluster-environment/resources/efs/efs_rocky8.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# See the License for the specific language governing permissions and limitations under the License.
1414

1515
provides :efs, platform: 'rocky' do |node|
16-
node['platform_version'].to_i == 8
16+
node['platform_version'].to_i >= 8
1717
end
1818

1919
use 'partial/_get_package_version_rpm'

0 commit comments

Comments
 (0)