File tree 2 files changed +12
-5
lines changed
task_spec/spec/acceptance
2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -97,10 +97,10 @@ bundle exec beaker-hostgenerator -t docker centos7-64mcda-debian9-64a > ./hosts.
97
97
98
98
Decide on a collection or version of puppet-agent to use on your master, and
99
99
run the ` prepare ` rake task to set it up. This example installs the latest
100
- puppet-agent and puppetserver in the puppet 5 series on the master:
100
+ puppet-agent and puppetserver in the puppet 7 series on the master:
101
101
102
102
``` sh
103
- MASTER_COLLECTION=puppet5 bundle exec rake prepare
103
+ MASTER_COLLECTION=puppet7 bundle exec rake prepare
104
104
````
105
105
106
106
# ## Run and re-run the tests
Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ def log_output_errors(result)
39
39
end
40
40
41
41
it 'works with version and install tasks' do
42
+ # Specify the first released version for each target platform. When adding a new
43
+ # OS, you'll typically want to specify 'latest' to install from nightlies, since
44
+ # official packages won't be released until later. During the N+1 release, you'll
45
+ # want to change `target_platform` to be the first version (N) that added the OS.
42
46
puppet_6_version = case target_platform
43
47
when %r{debian-11}
44
48
'6.24.0'
@@ -56,15 +60,16 @@ def log_output_errors(result)
56
60
'6.15.0'
57
61
when %r{osx-11}
58
62
'6.23.0'
59
- when %r{osx-12}
63
+ when %r{osx-12-x86_64 }
60
64
'6.27.1'
61
65
when %r{ubuntu-22.04}
62
66
'latest'
63
67
else
64
68
'6.17.0'
65
69
end
66
70
67
- # platforms that only have nightly builds available
71
+ # platforms that only have nightly builds available. Once a platform
72
+ # is released, it should be removed from this list.
68
73
case target_platform
69
74
when %r{ubuntu-22.04}
70
75
puppet_6_collection = 'puppet6-nightly'
@@ -75,8 +80,10 @@ def log_output_errors(result)
75
80
end
76
81
77
82
# we can only tests puppet 6.x -> 6.y upgrades if there multiple versions
83
+ # Once there a platform has been released more than once, it can be removed
84
+ # from this list.
78
85
multiple_puppet6_versions = case target_platform
79
- when %r{osx-12}
86
+ when %r{osx-12-x86_64 }
80
87
false
81
88
when %r{ubuntu-22.04}
82
89
false
You can’t perform that action at this time.
0 commit comments