-
Notifications
You must be signed in to change notification settings - Fork 5
/
.kitchen.yml
43 lines (40 loc) · 1.18 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
---
driver:
name: vagrant
provisioner:
name: chef_solo
<% if ENV.key?('CHEF_VERSION') %>
require_chef_omnibus: <%= ENV['CHEF_VERSION'].sub(/^.*> (.*)[.][0-9]+$/, '\1') %>
<% else %>
require_chef_omnibus: true
<% end %>
platforms:
- name: centos-5.11
- name: centos-6.7
- name: centos-7.2
- name: debian-7.9
- name: debian-8.7
- name: fedora-21
- name: fedora-22
- name: fedora-23
# FreeBSD platform requires to run kitchen verify twice by hand
# - name: freebsd-9.2
# driver_config:
# box_url: http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_freebsd-9.2_chef-provisionerless.box
- name: freebsd-10.2
- name: opensuse-13.2
driver_config:
box: opscode-opensuse-13.2
box_url: http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_opensuse-13.2-x86_64_chef-provisionerless.box
- name: ubuntu-10.04
- name: ubuntu-12.04
- name: ubuntu-14.04
- name: ubuntu-15.04
suites:
- name: default
run_list: recipe[chef_handler_sns]
attributes:
chef_handler_sns:
topic_arn: <%= ENV['AWS_TOPIC_ARN'] || 'arn:aws:sns:us-east-1:12341234:MyTopicName' %>
access_key: <%= ENV['AWS_ACCESS_KEY_ID'] %>
secret_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>