-
Notifications
You must be signed in to change notification settings - Fork 78
/
.kitchen.yml
139 lines (137 loc) · 2.71 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<%
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}"
%>
---
driver:
name: vagrant
require_chef_omnibus: 12.6.0
customize:
memory: 512
provisioner:
name: chef_zero
platforms:
- name: ubuntu-14.04
run_list:
- recipe[apt]
attributes:
riak:
package:
local:
url: "<%= url %>/<%= version %>/ubuntu/trusty"
- name: ubuntu-12.04
run_list:
- recipe[apt]
attributes:
riak:
package:
local:
url: "<%= url %>/<%= version %>/ubuntu/precise"
- name: debian-7.8
run_list:
- recipe[apt]
attributes:
riak:
package:
local:
url: "<%= url %>/<%= version %>/debian/7"
- name: centos-7.3
run_list:
- recipe[yum-epel]
attributes:
riak:
package:
local:
url: "<%= url %>/<%= version %>/rhel/7"
- name: centos-6.8
run_list:
- recipe[yum-epel]
attributes:
riak:
package:
local:
url: "<%= url %>/<%= version %>/rhel/6"
- name: centos-5.11
run_list:
- recipe[yum-epel]
attributes:
riak:
package:
local:
url: "<%= url %>/<%= version %>/rhel/5"
- name: freebsd-10.3
run_list:
- recipe[freebsd::portsnap]
attributes:
riak:
package:
local:
url: "<%= url %>/<%= version %>/freebsd/10"
suites:
- name: default
run_list:
- recipe[riak::sysctl]
- recipe[riak]
attributes:
riak:
package:
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"
excludes: ["freebsd-10.3"]
- 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 %>
excludes: ["freebsd-10.3"]
- name: sysctl
run_list:
- recipe[riak::sysctl]
excludes: ["freebsd-10.3"]