File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
task_spec/spec/acceptance Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ def latest_platform_list
46
46
el-9-aarch64|
47
47
ubuntu-22\. 04-aarch64|
48
48
amazon-2023|
49
+ amazon-2|
49
50
osx-14|
50
51
debian-12|
51
52
debian-11-aarch64|
@@ -104,7 +105,7 @@ def latest_platform_list
104
105
# true
105
106
# end
106
107
multiple_puppet7_versions = case target_platform
107
- when %r{osx-13|osx-14|el-9-aarch64|debian-11-aarch64|el-9-ppc64le}
108
+ when %r{osx-13|osx-14|el-9-aarch64|debian-11-aarch64|el-9-ppc64le|amazon-2 }
108
109
false
109
110
else
110
111
true
Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ case $platform in
286
286
;;
287
287
" Amzn" |" Amazon Linux" )
288
288
case $platform_version in
289
- " 2" ) platform_version=" 7 " ;;
289
+ " 2" ) platform_version=" 2 " ;;
290
290
esac
291
291
;;
292
292
esac
@@ -663,7 +663,7 @@ case $platform in
663
663
filetype=" rpm"
664
664
platform_package=" el"
665
665
# 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 == 2 )) ; then
667
667
platform_package=" amazon"
668
668
fi
669
669
filename=" ${collection} -release-${platform_package} -${platform_version} .noarch.rpm"
You can’t perform that action at this time.
0 commit comments