forked from librato/ansible-librato
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
102 lines (98 loc) · 2.49 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
driver:
name: vagrant
provisioner:
name: ansible_playbook
require_ansible_repo: true
ansible_verbose: true
require_chef_for_busser: false
require_ruby_for_busser: true
hosts: hosts
roles_path: ../
verifier:
ruby_bindir: '/usr/bin'
platforms:
- name: centos-6
driver:
box: centos/6
- name: centos-7
driver:
box: centos/7
- name: fedora-23
driver:
box: fedora/23-cloud-base
# Due to a bug in kitchen-ansible, statically set the ansible_platform to Amazon
# See: https://github.com/neillturner/kitchen-ansible/issues/216
- name: amazonlinux-2016.03
driver:
name: ec2
image_id: ami-7172b611
aws_ssh_key_id: test-kitchen
region: us-west-2
availability_zone: a
instance_type: t2.large
associate_public_ip: true
interface: dns
transport:
username: ec2-user
ssh_key: ~/.ssh/id_rsa
provisioner:
ansible_platform: 'amazon'
require_chef_for_busser: true
require_ruby_for_busser: false
verifier:
ruby_bindir: '/opt/chef/embedded/bin'
- name: amazonlinux-2016.09
driver:
name: ec2
image_id: ami-5ec1673e
aws_ssh_key_id: test-kitchen
region: us-west-2
availability_zone: a
instance_type: t2.large
associate_public_ip: true
interface: dns
transport:
username: ec2-user
ssh_key: ~/.ssh/id_rsa
provisioner:
ansible_platform: 'amazon'
require_chef_for_busser: true
require_ruby_for_busser: false
verifier:
ruby_bindir: '/opt/chef/embedded/bin'
# Ansible doesn't provide Debian repos so we use the omnibus installer to provide Ansible
- name: debian-7
driver:
box: debian/wheezy64
provisioner:
require_ansible_omnibus: true
require_ansible_repo: false
- name: debian-8
driver:
box: debian/jessie64
provisioner:
require_ansible_omnibus: true
require_ansible_repo: false
# Ubuntu 12.04 uses Ruby 1.8.7 while busser requires Ruby 1.9+, so we need to use Chef to run busser
- name: ubuntu-12.04
driver:
box: ubuntu/precise64
provisioner:
require_chef_for_busser: true
require_ruby_for_busser: false
verifier:
ruby_bindir: '/opt/chef/embedded/bin'
- name: ubuntu-14.04
driver:
box: ubuntu/trusty64
- name: ubuntu-15.04
driver:
box: larryli/vivid64
- name: ubuntu-15.10
driver:
box: ubuntu/wily64
- name: ubuntu-16.04
driver:
box: ubuntu/xenial64
suites:
- name: default