-
Notifications
You must be signed in to change notification settings - Fork 1
/
.kitchen.yml
47 lines (40 loc) · 1.16 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
---
driver:
name: vagrant
## The forwarded_port port feature lets you connect to ports on the VM guest via
## localhost on the host.
## see also: https://docs.vagrantup.com/v2/networking/forwarded_ports.html
# network:
# - ["forwarded_port", {guest: 80, host: 8080}]
provisioner:
name: chef_zero
client_rb:
node_name: "server1.example.com"
## require_chef_omnibus specifies a specific chef version to install. You can
## also set this to `true` to always use the latest version.
## see also: https://docs.chef.io/config_yml_kitchen.html
# require_chef_omnibus: 12.5.0
require_chef_omnibus: 12.5.1
platforms:
- name: ubuntu-14.04
suites:
- name: default
data_bags_path: "test/integration/data_bags"
run_list:
- recipe[topo::setup_node]
- recipe[topo::setup_chef_cleanup]
- recipe[topo::run_chef_cleanup]
attributes: { topo: {
name: 'test1',
node_type: 'appserver',
blueprint_name: 'test'
}}
- name: blueprint
data_bags_path: "test/integration/data_bags"
run_list:
- recipe[topo::setup_node]
attributes: { topo: {
name: 'test2',
node_type: 'dbserver',
blueprint_name: 'test'
}}