This repository was archived by the owner on Nov 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkitchen.yml
More file actions
55 lines (51 loc) · 1.35 KB
/
kitchen.yml
File metadata and controls
55 lines (51 loc) · 1.35 KB
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
---
driver:
name: vagrant
provisioner:
name: chef_solo
retries: 3
verifier:
name: inspec
platforms:
- name: debian-10
suites:
- name: default
lifecycle:
pre_converge:
- remote: |
/bin/bash -c "mkdir --parents /var/workspace && \
echo -n 'my private key' > /var/workspace/id_rsa && \
echo -n 'my public key' > /var/workspace/id_rsa.pub"
run_list:
- recipe[codenamephp_workstation_php::users]
- recipe[codenamephp_workstation_php]
- recipe[codenamephp_workstation_php::gnome]
verifier:
inspec_tests:
- test/integration/default
- test/integration/users
attributes: {
"codenamephp": {
"workstation_php": {
"git_client": {
"php": {
"config": {
"user.name": "I am php",
"user.email": "php@test.de"
}
}
}
}
}
}
- name: users-from-data-bag
data_bags_path: "test/integration/data_bags"
run_list:
- recipe[codenamephp_workstation_php::users_from_data_bag]
- recipe[codenamephp_workstation_php::default]
- recipe[codenamephp_workstation_php::gnome]
verifier:
inspec_tests:
- test/integration/default
- test/integration/users_from_data_bag
attributes: { users: ["user1", "user3"] }