-
Notifications
You must be signed in to change notification settings - Fork 81
/
Copy path.kitchen.yml
65 lines (61 loc) · 1.65 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
---
driver:
name: docker
use_sudo: false
privileged: true
verifier:
name: inspec
format: doc
provisioner:
name: salt_solo
require_chef: false
formula: zookeeper
platforms:
- name: ubuntu-16.04
driver_config:
provision_command:
# yamllint disable rule:line-length
- apt-get update && apt-get install -y netcat-openbsd locales && locale-gen en_US.UTF-8
# yamllint enable
run_command: /sbin/init
privileged: true
pid_one_command: /usr/lib/systemd/systemd
- name: centos-7
driver_config:
image: centos:7
provision_command:
- yum -y install initscripts nmap-ncat
platform: rhel
run_command: /sbin/init
privileged: true
pid_one_command: /usr/lib/systemd/systemd
suites:
- name: default
provisioner:
vendor_path: vendor/sun-java-formula
state_top:
base:
'*':
- sun-java
- sun-java.env
- zookeeper
- zookeeper.server
pillars:
top.sls:
base:
'*':
- zookeeper
- sun-java
sun-java.sls:
java:
version_name: jdk1.8.0_131
# yamllint disable rule:line-length
source_url: http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz
source_hash: 62b215bdfb48bace523723cdbb2157c665e6a25429c73828a32f00e587301236
# yamllint enable
zookeeper.sls:
zookeeper:
version: 3.4.10
source_md5: e4cf1b1593ca870bf1c7a75188f09678
config:
port: 2181