-
Notifications
You must be signed in to change notification settings - Fork 20
/
.kitchen.cloud.yml
67 lines (61 loc) · 1.56 KB
/
.kitchen.cloud.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
---
driver:
aws_access_key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
aws_secret_access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>
aws_ssh_key_id: <%= ENV['AWS_KEYPAIR_NAME'] %>
ssh:
forward_agent: true
provisioner:
name: chef_zero
require_chef_omnibus: latest
platforms:
- name: centos-6.4
driver_plugin: digitalocean
driver_config:
image_id: 562354
flavor_id: 63
region_id: 4
ssh_key_ids: <%= ENV['DIGITAL_OCEAN_SSH_KEY_IDS'] %>
<% if ENV['SSH_AGENT_PID'].nil? %>
ssh_key: <%= ENV['DIGITAL_OCEAN_SSH_KEY_PATH'] %>
<% end %>
- name: fedora-17
driver_plugin: digitalocean
driver_config:
image_id: 32428
flavor_id: 63
region_id: 4
ssh_key_ids: <%= ENV['DIGITAL_OCEAN_SSH_KEY_IDS'] %>
<% if ENV['SSH_AGENT_PID'].nil? %>
ssh_key: <%= ENV['DIGITAL_OCEAN_SSH_KEY_PATH'] %>
<% end %>
- name: ubuntu-1204
driver_plugin: digitalocean
driver_config:
image_id: 1505447
flavor_id: 63
region_id: 4
ssh_key_ids: <%= ENV['DIGITAL_OCEAN_SSH_KEY_IDS'] %>
<% if ENV['SSH_AGENT_PID'].nil? %>
ssh_key: <%= ENV['DIGITAL_OCEAN_SSH_KEY_PATH'] %>
<% end %>
run_list:
- recipe[apt]
- name: amazon-2011.02.1
driver_plugin: ec2
driver_config:
image_id: ami-8e1fece7
flavor_id: t1.micro
username: ec2-user
<% if ENV['SSH_AGENT_PID'].nil? %>
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
<% end %>
- name: amazon-2013.09.2
driver_plugin: ec2
driver_config:
image_id: ami-bba18dd2
flavor_id: t1.micro
username: ec2-user
<% if ENV['SSH_AGENT_PID'].nil? %>
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
<% end %>