-
Notifications
You must be signed in to change notification settings - Fork 7
/
.kitchen.yml
45 lines (40 loc) · 914 Bytes
/
.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
<% proxy_vars = {} %>
<% %w(http_proxy https_proxy no_proxy).each do |envvar| %>
<% if ENV.key?(envvar) %>
<% proxy_vars[envvar] = ENV[envvar] %>
<% end %>
<% end %>
---
driver:
name: vagrant
customize:
memory: 512
network:
- ["forwarded_port", { guest: 3000, host: 3000, auto_correct: true }]
<% if proxy_vars.size > 0 %>
driver_config:
<% %w(http_proxy https_proxy no_proxy).each do |envvar| %>
<% if ENV.key?(envvar) %>
<%= envvar %>: '<%= ENV[envvar] %>'
<% end %>
<% end %>
<% end %>
provisioner:
name: chef_zero
client_rb:
<% %w(http_proxy https_proxy no_proxy).each do |envvar| %>
<% if ENV.key?(envvar) %>
<%= envvar %>: '<%= ENV[envvar] %>'
<% end %>
<% end %>
platforms:
- name: centos-6.6
- name: ubuntu-12.04
- name: debian-7.8
suites:
- name: default
run_list:
- recipe[grafana2::default]
attributes:
grafana:
domain: localhost