forked from salt-formulas/salt-formula-salt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
144 lines (135 loc) · 3.88 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
---
driver:
name: docker
hostname: salt.ci.local
use_sudo: false
provisioner:
name: salt_solo
salt_install: bootstrap
salt_bootstrap_url: https://bootstrap.saltstack.com
salt_version: latest
salt_minion_id: salt.ci.local
require_chef: false
log_level: error
formula: salt
grains:
noservices: true
vendor_repo:
- type: apt
url: http://apt-mk.mirantis.com/xenial
key_url: http://apt-mk.mirantis.com/public.gpg
components: salt
distribution: testing
state_top:
base:
"*":
- salt
pillars:
top.sls:
base:
"*":
- salt
- common
common.sls:
salt:
minion:
enabled: true
master:
host: localhost
pkgs:
- python-m2crypto
- python-psutil
- python-yaml
linux:
system:
enabled: true
name: salt
domain: ci.local
dependencies:
- name: git
repo: git
source: https://github.com/salt-formulas/salt-formula-git.git
- name: reclass
repo: git
source: https://github.com/salt-formulas/salt-formula-reclass.git
verifier:
name: inspec
sudo: true
platforms:
- name: <%=ENV['PLATFORM'] || 'ubuntu-xenial'%>
driver_config:
image: <%=ENV['PLATFORM'] || 'trevorj/salty-whales:xenial'%>
platform: ubuntu
suites:
- name: minion-default
provisioner:
pillars:
top.sls:
base:
"*":
- common
- minion_pki
- minion_mine
- minion_graph
- minion_handler
- minion_local_pillar
- minion_local_reclass
pillars-from-files:
minion_pki.sls: tests/pillar/minion_pki_ca.sls
minion_mine.sls: tests/pillar/minion_mine.sls
minion_graph.sls: tests/pillar/minion_graph.sls
minion_handler.sls: tests/pillar/minion_custom_handler.sls
minion_local_pillar.sls: tests/pillar/minion_local_pillar.sls
minion_local_reclass.sls: tests/pillar/minion_local_reclass.sls
minion_backend_urllib.sls: tests/pillar/minion_backend_urllib.sls
- name: master-default
provisioner:
pillars:
top.sls:
base:
"*":
- common
- minion_pki
- master_api
- master_acl
- master_ssh_key
- master_ssh_password
- master_ssh_root
- minion_pki_cert
- master_formulas
common.sls:
salt:
master:
#Use a useless package to avoid upgrading salt-master
pkgs:
- python-yaml
pillars-from-files:
minion_pki.sls: tests/pillar/minion_pki_ca.sls
minion_pki_cert.sls: tests/pillar/minion_pki_cert.sls
master_api.sls: tests/pillar/master_api.sls
master_acl.sls: tests/pillar/master_acl.sls
master_ssh_key.sls: tests/pillar/master_ssh_minion_key.sls
master_ssh_password.sls: tests/pillar/master_ssh_minion_password.sls
master_ssh_root.sls: tests/pillar/master_ssh_minion_root.sls
master_formulas.sls: tests/pillar/master_formulas.sls
- name: control-default
provisioner:
grains:
noservices: true
pillars:
top.sls:
base:
"*":
- common
- control_cloud_digitalocean
- control_cloud_openstack
- control_virt
pillars-from-files:
control_cloud_digitalocean.sls: tests/pillar/control_cloud_digitalocean.sls
control_cloud_openstack.sls: tests/pillar/control_cloud_openstack.sls
control_virt.sls: tests/pillar/control_virt.sls
- name: minion_multi_master_failover
provisioner:
pillars-from-files:
salt.sls: tests/pillar/minion_multi_master_failover.sls
# vim: ft=yaml sw=2 ts=2 sts=2 tw=125