forked from juju-solutions/layer-apache-zookeeper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dist.yaml
40 lines (40 loc) · 1.31 KB
/
dist.yaml
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
# This file contains values that are likely to change per distribution.
# The aim is to make it easier to update / extend the charms with
# minimal changes to the shared code in charmhelpers.
vendor: 'apache'
groups:
- 'zookeeper'
users:
zookeeper:
groups: ['zookeeper']
dirs:
zookeeper:
path: '/usr/lib/zookeeper'
zookeeper_conf:
path: '/etc/zookeeper/conf'
zookeeper_data_dir:
path: '/var/lib/zookeeper'
owner: 'zookeeper'
perms: 0755
zookeeper_log_dir:
path: '/var/log/zookeeper'
owner: 'zookeeper'
perms: 0755
# Used for REST ant build (java thinks user.home == /home/zookeeper)
zookeeper_home:
path: '/home/zookeeper'
owner: 'zookeeper'
ports:
# Ports that need to be exposed, overridden, or manually specified.
# Only expose ports serving a UI or external API (i.e., namenode and
# resourcemanager). Communication among units within the cluster does
# not need ports to be explicitly opened.
# If adding a new port here, you will need to update
# charmhelpers.contrib.bigdata.handlers.apache or hooks/callbacks.py
# to ensure that it is supported.
zookeeper-rest:
port: 9998
exposed_on: 'zookeeper'
zookeeper:
port: 2181
exposed_on: 'zookeeper'