From 4faa7f927149a5c4ef7a03523f7bc14523cb9baa Mon Sep 17 00:00:00 2001 From: Stuart Mackie Date: Fri, 7 Oct 2016 12:24:58 -0700 Subject: Charms for Contrail 3.1 with Mitaka Change-Id: Id37f3b9743d1974e31fcd7cd9c54be41bb0c47fb Signed-off-by: Stuart Mackie --- charms/trusty/kafka/dist.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 charms/trusty/kafka/dist.yaml (limited to 'charms/trusty/kafka/dist.yaml') diff --git a/charms/trusty/kafka/dist.yaml b/charms/trusty/kafka/dist.yaml new file mode 100644 index 0000000..e8f1a37 --- /dev/null +++ b/charms/trusty/kafka/dist.yaml @@ -0,0 +1,30 @@ +# 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 the jujubigdata library. +vendor: 'apache' +packages: + - 'openjdk-7-jdk' +groups: + - 'hadoop' +users: + kafka: + groups: ['hadoop'] +dirs: + kafka: + path: '/usr/lib/kafka' + kafka_conf: + path: '/etc/kafka/conf' + kafka_app_logs: + path: '/var/log/kafka' + owner: 'kafka' + kafka_data_logs: + path: '/var/lib/kafka' + owner: 'kafka' +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. + kafka: + port: 9092 + exposed_on: 'kafka' -- cgit 1.2.3-korg