Skip to content

Commit c9bd350

Browse files
(PA-6367) Update task_acceptance for Fedora 40 x86_64
Added fedora-40 to 'latest_platform_list' method so that it considers builds from nightlies with the 'latest' tag since the versioned release package won't be available for fedora-40 yet given its a new platform we're just introducing. Also set 'multiple_puppet7_version' to false for the case of fedora-40 because we would only have just one puppet7 release initially.
1 parent 3ce04a2 commit c9bd350

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

task_spec/spec/acceptance/init_spec.rb

+5-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ 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{ubuntu-24}
45+
%r{
46+
ubuntu-24|
47+
fedora-40
48+
}x
4649
end
4750

4851
it 'works with version and install tasks' do
@@ -104,7 +107,7 @@ def latest_platform_list
104107
# true
105108
# end
106109
multiple_puppet7_versions = case target_platform
107-
when %r{el-9-ppc64le|amazon-2|ubuntu-24}
110+
when %r{el-9-ppc64le|amazon-2|ubuntu-24|fedora-40}
108111
false
109112
else
110113
true

0 commit comments

Comments
 (0)