Skip to content

Commit 3ce04a2

Browse files
authored
Merge pull request #726 from skyamgarp/PA-6627
(PA-6627) Update the first released version for released platforms in…
2 parents 7f66b6d + 0e273cf commit 3ce04a2

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

task_spec/spec/acceptance/init_spec.rb

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,7 @@ def log_output_errors(result)
4242
# used for target_platform, which will use latest puppet_agent
4343
# in below mentioned test spec
4444
def latest_platform_list
45-
%r{
46-
el-9-aarch64|
47-
ubuntu-22\.04-aarch64|
48-
ubuntu-24|
49-
amazon-2023|
50-
amazon-2|
51-
osx-14|
52-
debian-12|
53-
debian-11-aarch64|
54-
el-9-ppc64le
55-
}x
45+
%r{ubuntu-24}
5646
end
5747

5848
it 'works with version and install tasks' do
@@ -73,6 +63,14 @@ def latest_platform_list
7363
'7.18.0'
7464
when %r{osx-13}
7565
'7.26.0'
66+
when %r{el-9-aarch64}, %r{ubuntu-22.04-aarch64}
67+
'7.27.0'
68+
when %r{amazon-2023}, %r{osx-14}, %r{debian-11-aarch64}
69+
'7.28.0'
70+
when %r{debian-12}
71+
'7.29.0'
72+
when %r{el-9-ppc64le}, %r{amazon-2}
73+
'7.31.0'
7674
when latest_platform_list
7775
'latest'
7876
else
@@ -106,7 +104,7 @@ def latest_platform_list
106104
# true
107105
# end
108106
multiple_puppet7_versions = case target_platform
109-
when %r{osx-13|osx-14|el-9-aarch64|debian-11-aarch64|el-9-ppc64le|amazon-2|ubuntu-24}
107+
when %r{el-9-ppc64le|amazon-2|ubuntu-24}
110108
false
111109
else
112110
true

0 commit comments

Comments
 (0)