Skip to content

Commit

Permalink
(PA-6276) Update puppet_agent module task acceptance for AL2
Browse files Browse the repository at this point in the history
  • Loading branch information
amitkarsale committed Jun 5, 2024
1 parent c4999d4 commit 6aaa0e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions task_spec/spec/acceptance/init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def latest_platform_list
el-9-aarch64|
ubuntu-22\.04-aarch64|
amazon-2023|
amazon-2|
osx-14|
debian-12|
debian-11-aarch64|
Expand Down
2 changes: 1 addition & 1 deletion tasks/install_shell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ case $platform in
filetype="rpm"
platform_package="el"
# For Amazon Linux 2023 and onwards we can use the 'amazon' packages created instead of 'el' packages
if (( $platform_version >= 2023 )); then
if (( $platform_version == 2023 || $platform_version == 7 )); then
platform_package="amazon"
fi
filename="${collection}-release-${platform_package}-${platform_version}.noarch.rpm"
Expand Down

0 comments on commit 6aaa0e8

Please sign in to comment.