Skip to content

Commit f390208

Browse files
committed
(FM-8969) Specify osx-12-x86_64 explicitly
Specify architecture for existing macOS 12 OS before adding arm64 logic.
1 parent 560d23a commit f390208

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

acceptance/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ bundle exec beaker-hostgenerator -t docker centos7-64mcda-debian9-64a > ./hosts.
9797

9898
Decide on a collection or version of puppet-agent to use on your master, and
9999
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:
101101

102102
```sh
103-
MASTER_COLLECTION=puppet5 bundle exec rake prepare
103+
MASTER_COLLECTION=puppet7 bundle exec rake prepare
104104
````
105105

106106
### Run and re-run the tests

task_spec/spec/acceptance/init_spec.rb

+10-3
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ def log_output_errors(result)
3939
end
4040

4141
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.
4246
puppet_6_version = case target_platform
4347
when %r{debian-11}
4448
'6.24.0'
@@ -56,15 +60,16 @@ def log_output_errors(result)
5660
'6.15.0'
5761
when %r{osx-11}
5862
'6.23.0'
59-
when %r{osx-12}
63+
when %r{osx-12-x86_64}
6064
'6.27.1'
6165
when %r{ubuntu-22.04}
6266
'latest'
6367
else
6468
'6.17.0'
6569
end
6670

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.
6873
case target_platform
6974
when %r{ubuntu-22.04}
7075
puppet_6_collection = 'puppet6-nightly'
@@ -75,8 +80,10 @@ def log_output_errors(result)
7580
end
7681

7782
# 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.
7885
multiple_puppet6_versions = case target_platform
79-
when %r{osx-12}
86+
when %r{osx-12-x86_64}
8087
false
8188
when %r{ubuntu-22.04}
8289
false

0 commit comments

Comments
 (0)