forked from saltstack-formulas/zookeeper-formula
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpillar.example
41 lines (37 loc) · 1.03 KB
/
pillar.example
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
# -*- coding: utf-8 -*-
# vim: filetype=yaml
# These are the supported Pillars with their defaults
java_home: /usr/lib/java
zookeeper:
source_url: 'http://www.us.apache.org/dist/zookeeper/zookeeper-3.4.6/zookeeper-3.4.6.tar.gz'
version: 3.4.6
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
restart_on_config: True
# Configure Salt Mine function with parameters used in zookeeper:hosts_function
#
# mine_functions:
# network.ip_addrs:
# interface: eth0
# You can override everything in config: locally with grains, additionally
# there is support for the bind_address grain
#
# zookeeper:
# config:
# bind_address: 0.0.0.0