-
Notifications
You must be signed in to change notification settings - Fork 16
/
.kitchen.yml
117 lines (110 loc) · 2.92 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
---
driver:
name: vagrant
ssh:
insert_key: false
# http_proxy: http://10.0.0.53:8888
# https_proxy: http://10.0.0.53:8888
# no_proxy: localhost,*.localdomain,127.0.0.1,*.services.com
provisioner:
name: chef_zero
chef_zero_port: 9010
encrypted_data_bag_secret_key_path: 'test/fixtures/secrets/fakey-mcfakerton'
data_bags_path: 'test/fixtures/data_bags'
# client_rb:
# http_proxy: http://10.0.0.53:8888
# https_proxy: http://10.0.0.53:8888
# no_proxy: localhost,*.localdomain,127.0.0.1,*.services.com
# http_proxy: http://10.0.0.53:8888
# https_proxy: http://10.0.0.53:8888
# no_proxy: localhost,*.localdomain,127.0.0.1,*.services.com
verifier:
name: inspec
platforms:
- name: centos-6.8
- name: centos-7.3
verifier:
inspec_tests:
- https://github.com/dev-sec/linux-patch-baseline
- name: ubuntu-14.04
- name: ubuntu-16.04
suites:
- name: chef-server
run_list:
- recipe[test::hostsfile]
- recipe[test::chef_server]
driver:
vm_hostname: chef.services.com
network:
- ['private_network', {ip: '33.33.33.10'}]
customize:
memory: 2048
cpus: 2
attributes:
chef_server:
fqdn: chef.services.com
install_dir: /tmp/
- name: automate
run_list:
- recipe[test::hostsfile]
- recipe[test::delivery_node]
attributes:
delivery:
fqdn: 'automate.services.com'
chef_server: https://chef.services.com/organizations/delivery
insights:
enable: true
chef_automate:
fqdn: automate.services.com
chef_services:
fqdn: chef.services.com
driver:
vm_hostname: automate.services.com
network:
- ['private_network', {ip: '33.33.33.11'}]
customize:
memory: 2560
cpus: 1
- name: build
run_list:
- recipe[test::hostsfile]
- recipe[test::delivery_build_node]
attributes:
driver:
vm_hostname: build.services.com
network:
- ['private_network', {ip: '33.33.33.12'}]
customize:
memory: 1024
cpus: 1
# - name: supermarket
# run_list:
# - recipe[test::hostsfile]
# - recipe[test::supermarket_node]
# attributes:
# supermarket_omnibus:
# chef_server_url: 'https://chef.services.com'
# chef_oauth2_verify_ssl: false
# driver:
# vm_hostname: supermarket.services.com
# network:
# - ['private_network', {ip: '33.33.33.13'}]
# customize:
# memory: 1024
# cpus: 1
#
# - name: compliance
# run_list:
# - recipe[test::hostsfile]
# - recipe[test::compliance_node]
# attributes:
# compliance:
# accept_license: true
# fqdn: compliance.services.com
# driver:
# vm_hostname: compliance.services.com
# network:
# - ['private_network', {ip: '33.33.33.14'}]
# customize:
# memory: 1024
# cpus: 1