Puppet Class: profile::kafka::common
- Defined in:
- modules/profile/manifests/kafka/common.pp
Overview
SPDX-License-Identifier: Apache-2.0
Class profile::kafka::common
Common configuration for Kafka brokers and mirror maker istances.
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'modules/profile/manifests/kafka/common.pp', line 6
class profile::kafka::common {
$kafka_dir = '/etc/kafka'
$kafka_ssl_dir = '/etc/kafka/ssl'
# The kafka directory is deployed via the Confluent
# kafka packages (May 2023). To ease the development of
# puppet classes (and their dependencies), we explicitly
# create the directory as well.
file{ [$kafka_dir, $kafka_ssl_dir]:
ensure => directory,
owner => 'kafka',
group => 'kafka',
mode => '0755',
}
}
|