forked from saltstack-formulas/vault-formula
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kitchen.yml
86 lines (81 loc) · 1.99 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
---
driver:
name: docker
use_sudo: false
privileged: true
run_command: /sbin/init
provision_command:
- curl -L https://bootstrap.saltstack.com | sh -s -- -X # install Salt and dependencies here to make use of Docker build cache, speeding up tests massively
verifier:
name: inspec
provisioner:
name: salt_solo
salt_version: latest
log_level: info
require_chef: false
formula: vault
platforms:
- name: ubuntu-16.04
driver:
name: docker
provision_command:
- apt-get install -y locales net-tools && locale-gen en_US.UTF-8
- curl -L https://bootstrap.saltstack.com | sh -s -- -X
- name: centos-7
driver:
name: docker
provision_command:
- yum -y install net-tools # needed by inspec
- curl -L https://bootstrap.saltstack.com | sh -s -- -X
- name: amazonlinux
driver:
name: docker
image: amazonlinux:1
platform: rhel
suites:
- name: install_binary
provisioner:
state_top:
base:
'*':
- vault
pillars:
top.sls:
base:
'*':
- vault
vault.sls:
vault:
# version: 0.11.1 # test upgrades by doing a double-converge, changing the version pillar between each one
version: 0.11.2
secure_download: false
- name: dev_server
provisioner:
state_top:
base:
'*':
- vault.server
- name: prod_server
provisioner:
state_top:
base:
'*':
- vault.server
pillars:
top.sls:
base:
'*':
- vault
vault.sls:
vault:
dev_mode: false
tls_disable: 1
self_signed_cert:
enabled: true
hostname: localhost
password: localhost
country: GB
state: England
city: London
org: example.com
org_unit: testing