Skip to content

Commit

Permalink
Update latest platforms
Browse files Browse the repository at this point in the history
This commit updates tests to use released versions of puppet-agent for
Ubuntu 24.04 and Fedora 40 instead of nightlies.
  • Loading branch information
mhashizume committed Sep 25, 2024
1 parent 51c1b67 commit 6cbcbb6
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions task_spec/spec/acceptance/init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ def log_output_errors(result)
# used for target_platform, which will use latest puppet_agent
# in below mentioned test spec
def latest_platform_list
%r{
ubuntu-24|
fedora-40
}x
#%r{}
end

it 'works with version and install tasks' do
Expand All @@ -72,8 +69,10 @@ def latest_platform_list
'7.28.0'
when %r{debian-12}
'7.29.0'
when %r{el-9-ppc64le}, %r{amazon-2}
when %r{el-9-ppc64le}, %r{amazon-2}, %r{fedora-40}
'7.31.0'
when %r{ubuntu-24.04}
'7.32.1'
when latest_platform_list
'latest'
else
Expand Down

0 comments on commit 6cbcbb6

Please sign in to comment.