forked from microsoft/macos-cookbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkitchen.yml
147 lines (130 loc) · 2.61 KB
/
kitchen.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
---
driver:
name: vagrant
provider: parallels
provisioner:
product_name: chef
multiple_converge: 2
verifier:
name: inspec
sudo: true
reporter:
- cli
- junit:/tmp/%{suite}-%{platform}-inspec.xml
inspec_tests:
- test/integration/default
platforms:
- name: sierra-chef14
driver:
box: microsoft/macos-sierra
version: 10.12.6
provisioner:
product_version: 14
- name: high-sierra-chef14
driver:
box: microsoft/macos-high-sierra
version: 10.13.6-v2
provisioner:
product_version: 14
- name: mojave-chef14
driver:
box: microsoft/macos-mojave
version: 10.14.3
provisioner:
product_version: 14
suites:
- name: default
provisioner:
enforce_idempotency: true
run_list:
- recipe[macos_test::preferences]
verifier:
controls:
- dock-appearance
- show-all-files
- plist-creation
- name: software-updates
provisioner:
enforce_idempotency: true
run_list:
- recipe[macos_test::disable_software_updates]
verifier:
controls:
- updates-disabled
- name: power-management
provisioner:
enforce_idempotency: true
run_list:
- recipe[macos::keep_awake]
verifier:
controls:
- screensaver-disabled
- remote-administration
- no-sleep
- name: spotlight
provisioner:
enforce_idempotency: true
run_list:
- recipe[macos_test::spotlight]
verifier:
controls:
- indexing-and-searching
- name: xcode-from-apple
run_list:
- recipe[macos_test::xcode_from_apple]
verifier:
controls:
- xcode-and-simulators
- command-line-tool-sentinel
- name: xcode-from-url
run_list:
- recipe[macos_test::xcode_from_url]
attributes:
xcode:
download_url: <%= ENV['XCODE_URL'] %>
verifier:
controls:
- xcode-and-simulators
- command-line-tool-sentinel
- name: command-line-tools
run_list:
- recipe[macos_test::command_line_tools]
verifier:
controls:
- command-line-tool-sentinel
- name: certificate
run_list:
- recipe[macos_test::certificate]
verifier:
controls:
- certificate-install
- name: users
run_list:
- recipe[macos_test::new_users]
verifier:
controls:
- admin-user
- standard-user
- hidden-user
- name: delete-users
run_list:
- recipe[macos_test::delete_users]
verifier:
controls:
- test-user
- name: keychain
run_list:
- recipe[macos_test::keychain]
verifier:
controls:
- keychain-creation
- login-keychain-creation
- default-keychain-creation
- name: remote-access
provisioner:
enforce_idempotency: true
run_list:
- recipe[macos_test::remote_access]
verifier:
controls:
- remote-control