This repository has been archived by the owner on Oct 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
57 lines (53 loc) · 2.01 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
---
driver:
name: dokken
transport:
name: dokken
provisioner:
name: dokken
verifier:
name: inspec
platforms:
- name: ubuntu-1604
driver:
image: ubuntu:16.04
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update && /usr/bin/apt-get install -y curl
- RUN /usr/bin/curl https://repo.saltstack.com/apt/ubuntu/16.04/amd64/latest/SALTSTACK-GPG-KEY.pub | /usr/bin/apt-key add -
- RUN echo 'deb http://repo.saltstack.com/apt/ubuntu/16.04/amd64/latest xenial main' > /etc/apt/sources.list.d/saltstack.list
- RUN /usr/bin/apt-get update && /usr/bin/apt-get install -y salt-minion
- name: ubuntu-1404
driver:
image: ubuntu:14.04
pid_one_command: /sbin/init
intermediate_instructions:
- RUN /usr/bin/apt-get update && /usr/bin/apt-get install -y curl
- RUN /usr/bin/curl https://repo.saltstack.com/apt/ubuntu/14.04/amd64/latest/SALTSTACK-GPG-KEY.pub | /usr/bin/apt-key add -
- RUN echo 'deb http://repo.saltstack.com/apt/ubuntu/14.04/amd64/latest trusty main' > /etc/apt/sources.list.d/saltstack.list
- RUN /usr/bin/apt-get update && /usr/bin/apt-get install -y salt-minion
- name: centos-7
driver:
image: centos:7
pid_one_command: /usr/lib/systemd/systemd
intermediate_instructions:
- RUN yum install -y https://repo.saltstack.com/yum/redhat/salt-repo-latest-2.el7.noarch.rpm
- RUN yum install -y salt-minion
- RUN systemctl enable salt-minion.service
- name: centos-6
driver:
image: centos:6
pid_one_command: /sbin/init
intermediate_instructions:
- RUN yum -y install which initscripts net-tools
- RUN yum install -y https://repo.saltstack.com/yum/redhat/salt-repo-latest-2.el6.noarch.rpm
- RUN yum install -y salt-minion
- RUN chkconfig salt-minion on
suites:
- name: default
run_list:
- recipe[desalination::default]
verifier:
inspec_tests:
- test/smoke/default
attributes: