Skip to content

Commit 3c646a2

Browse files
committed
(PA-6276) Update puppet_agent module task acceptance for AL2
1 parent c4999d4 commit 3c646a2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

task_spec/spec/acceptance/init_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ def latest_platform_list
4646
el-9-aarch64|
4747
ubuntu-22\.04-aarch64|
4848
amazon-2023|
49+
amazon-2-aarch64|
4950
osx-14|
5051
debian-12|
5152
debian-11-aarch64|

tasks/install_shell.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ case $platform in
663663
filetype="rpm"
664664
platform_package="el"
665665
# For Amazon Linux 2023 and onwards we can use the 'amazon' packages created instead of 'el' packages
666-
if (( $platform_version >= 2023 )); then
666+
if (( $platform_version == 2023 || $platform_version == 7 )); then
667667
platform_package="amazon"
668668
fi
669669
filename="${collection}-release-${platform_package}-${platform_version}.noarch.rpm"

0 commit comments

Comments
 (0)