File tree 1 file changed +8
-16
lines changed
task_spec/spec/acceptance
1 file changed +8
-16
lines changed Original file line number Diff line number Diff line change @@ -38,14 +38,11 @@ def log_output_errors(result)
38
38
puts logger . info ( out )
39
39
end
40
40
41
- # Added this method to simplify the 'case' condition
42
- # used for target_platform, which will use latest puppet_agent
43
- # in below mentioned test spec
41
+ # This method contains a list of platforms that are only available in nightly builds of puppet-agent. Once a regular
42
+ # release of puppet-agent includes support for these platforms, they can be removed from this method and added to
43
+ # the logic that determines the puppet_7_version variable below.
44
44
def latest_platform_list
45
- %r{
46
- ubuntu-24|
47
- fedora-40
48
- }x
45
+ # %r{operatingsystem-version-architecture}
49
46
end
50
47
51
48
it 'works with version and install tasks' do
@@ -72,22 +69,17 @@ def latest_platform_list
72
69
'7.28.0'
73
70
when %r{debian-12}
74
71
'7.29.0'
75
- when %r{el-9-ppc64le} , %r{amazon-2}
72
+ when %r{el-9-ppc64le} , %r{amazon-2} , %r{fedora-40}
76
73
'7.31.0'
74
+ when %r{ubuntu-24.04}
75
+ '7.32.1'
77
76
when latest_platform_list
78
77
'latest'
79
78
else
80
79
'7.18.0'
81
80
end
82
81
83
- # Platforms that only have nightly builds available. Once a platform
84
- # is released, it should be removed from this list.
85
- # case target_platform
86
- # when %r{fedora-36}
87
- # puppet_7_collection = 'puppet7-nightly'
88
- # puppet_8_collection = 'puppet8-nightly'
89
- # else
90
- # end
82
+ # Use nightlies for unreleased platforms
91
83
case target_platform
92
84
when latest_platform_list
93
85
puppet_7_collection = 'puppet7-nightly'
You can’t perform that action at this time.
0 commit comments