-
Notifications
You must be signed in to change notification settings - Fork 78
/
.kitchen.cloud.yml
153 lines (150 loc) · 2.95 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
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<%
version = '2.1.1'
split = version.split('.')
maj = split[0]
min = split[1]
inc = split[2]
url = "http://s3.amazonaws.com/downloads.basho.com/riak/#{maj}.#{min}"
%>
---
provisioner:
name: chef_zero
require_chef_omnibus: 12.6.0
platforms:
- name: amazon-2014.09.01
driver:
name: ec2
image_id: ami-5ba7ea6b
transport:
username: ec2-user
ssh_key: <%= ENV["EC2_SSH_KEY_PATH"] %>
run_list:
- recipe[yum-epel]
attributes:
riak:
package:
local:
url: "<%= url %>/<%= version %>/rhel/6"
- name: ubuntu-14-04-x64
driver:
name: digitalocean
run_list:
- recipe[apt]
attributes:
riak:
package:
local:
url: "<%= url %>/<%= version %>/ubuntu/trusty"
- name: ubuntu-12-04-x64
driver:
name: digitalocean
run_list:
- recipe[apt]
attributes:
riak:
package:
local:
url: "<%= url %>/<%= version %>/ubuntu/precise"
- name: debian-7-0-x64
driver:
name: digitalocean
run_list:
- recipe[apt]
attributes:
riak:
package:
local:
url: "<%= url %>/<%= version %>/debian/7"
- name: centos-7-0-x64
driver:
name: digitalocean
run_list:
- recipe[yum-epel]
attributes:
riak:
package:
local:
url: "<%= url %>/<%= version %>/rhel/7"
- name: centos-6-5-x64
driver:
name: digitalocean
run_list:
- recipe[yum-epel]
attributes:
riak:
package:
local:
url: "<%= url %>/<%= version %>/rhel/6"
- name: centos-5-8-x64
driver:
name: digitalocean
run_list:
- recipe[yum-epel]
attributes:
riak:
package:
local:
url: "<%= url %>/<%= version %>/rhel/5"
suites:
- name: default
run_list:
- recipe[riak::sysctl]
- recipe[riak]
attributes:
riak:
package:
local:
filename: ""
version:
major: <%= maj %>
minor: <%= min %>
incremental: <%= inc %>
- name: search
run_list:
- recipe[riak::sysctl]
- recipe[riak]
attributes:
riak:
manage_java: true
package:
version:
major: <%= maj %>
minor: <%= min %>
incremental: <%= inc %>
config:
search.top_level: "on"
- name: enterprise
run_list:
- recipe[riak::sysctl]
- recipe[riak]
attributes:
riak:
package:
version:
major: <%= maj %>
minor: <%= min %>
incremental: <%= inc %>
local:
url: ""
enterprise_key: <%= (ENV["RIAK_ENTERPRISE_KEY"].nil? ? "" : ENV["RIAK_ENTERPRISE_KEY"]) %>
- name: custom_package
run_list:
- recipe[riak::sysctl]
- recipe[riak]
attributes:
riak:
install_method: "custom_package"
- name: source
run_list:
- recipe[riak::sysctl]
- recipe[riak]
attributes:
riak:
install_method: "source"
source:
major: <%= maj %>
minor: <%= min %>
incremental: <%= inc %>
- name: sysctl
run_list:
- recipe[riak::sysctl]