-
Notifications
You must be signed in to change notification settings - Fork 9
/
.kitchen.yml
72 lines (70 loc) · 1.86 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
---
provisioner:
name: chef_zero
product_name: chefdk
deprecations_as_errors: true
platforms:
- name: ec2
driver:
name: ec2
region: us-east-1
instance_type: c4.xlarge
image_search:
name: ubuntu/images/*/ubuntu-*-16.10*
block_device_mappings:
- device_name: /dev/sda1
ebs:
volume_type: gp2
volume_size: 20
delete_on_termination: true
- device_name: /dev/sda2
ebs:
volume_type: gp2
volume_size: 40
delete_on_termination: true
user_data: |
#cloud-config
disable_root: false
aws_ssh_key_id: your_aws_ssh_key_id
tags:
Created-By: test-kitchen
Name: dev-lxc-platform
X-Contact: myname
X-Dept: mydepartment
transport:
ssh_key: ~/.ssh/your_private_key_file
attributes:
dev-lxc-platform:
btrfs_device: /dev/xvdb
# - name: vagrant
# driver:
# name: vagrant
# box: bento/ubuntu-16.10
# box_url: https://atlas.hashicorp.com/bento/boxes/ubuntu-16.10/versions/2.3.1/providers/virtualbox.box
# vagrantfile_erb: Vagrantfile.erb
# # gui: true
# customize:
# cpus: 4
# memory: 6144
# # synced_folders:
# # - ["~/clusters", "/root/clusters"]
# network:
# - ["private_network", {ip: "192.168.55.55"}]
# persistent_storage:
# enabled: true
# manage: false
# format: false
# size: 40 * 1024
# location: File.expand_path('~/VirtualBox VMs/dev-lxc-platform.vdi')
# attributes:
# dev-lxc-platform:
# btrfs_device: /dev/sdb
suites:
- name: default
run_list:
- recipe[dev-lxc-platform]
- recipe[dev-lxc-platform::create-base-containers]
attributes:
dev-lxc-platform:
base_containers:
- b-ubuntu-1404