forked from saltstack-formulas/solr-formula
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
108 lines (103 loc) · 2.62 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
---
driver:
name: docker
hostname: salt-formula.ci.local
use_sudo: false
require_chef_omnibus: false
driver_config:
cap_add:
- SYS_PTRACE
# verifier:
# name: inspec
platforms:
- name: ubuntu-14.04
- name: ubuntu-16.04
- name: debian-7
- name: debian-8
- name: centos-6
- name: centos-7
provisioner:
name: salt_solo
salt_install: bootstrap
salt_bootstrap_url: https://bootstrap.saltstack.com
salt_version: latest
# data_path: test/shared
is_file_root: false
formula: solr
dependencies:
- {name: zookeeper, path: /tmp/zookeeper}
pillars:
top.sls:
base:
'*':
- zookeeper
- solr
zookeeper.sls:
source_url: 'http://www.us.apache.org/dist/zookeeper/zookeeper-3.4.9/zookeeper-3.4.9.tar.gz'
version: 3.4.9
# You can disable md5 checking if you know exactly what you are doing and set the following to an empty string.
source_md5: 3e8506075212c2d41030d874fcc9dcd2
prefix: /usr/lib
uid: 6030
hosts_function: network.get_hostname
hosts_target: 'roles:zookeeper'
targeting_method: grain # [compound, glob] also supported
config:
data_dir: /var/lib/zookeeper/data
port: 2181
jmx_port: 2183
snap_count: None
snap_retain_count: 3
purge_interval: None
max_client_cnxns: None
max_perm_size: 128
max_heap_size: 1024
initial_heap_size: 256
jvm_opts: None
log_level: INFO
quorum_port: 2888
election_port: 3888
restart_on_config: True
solr.sls:
solr:
url: http://www.eu.apache.org/dist/lucene/solr/
ver: 6.4.1
name: solr
logs: /var/solr/logs/
data: /var/solr/data/
home: /var/solr/
java_home: /usr/lib/jvm/java-8-oracle
user: solr
install_dir: /opt/solr-6.4.1
mode: solrcloud
cluster:
servers:
solr1:
ip:
id: '1'
solr2:
ip:
id: '2'
zookeeper:
client_timeout: 30000
nodes:
- 'localhost:2181'
limit:
soft: 48000
hard: 64000
log_level: <%= ENV['SALT_DEBUG_LEVEL'] || 'info' %>
state_top:
base:
'*':
- zookeeper
- zookeeper.server
- solr
suites:
- name: solr_install
provisioner:
state_top:
base:
'*':
- zookeeper
- zookeeper.server
- solr