Puppet Class: profile::frtech::kafka_certificate
- Defined in:
- modules/profile/manifests/frtech/kafka_certificate.pp
Overview
SPDX-License-Identifier: Apache-2.0
This class generates a certificate to be used within the fr-tech environment (which is separate from production). The certificate is manually synced and deployed in the fr-tech setup
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'modules/profile/manifests/frtech/kafka_certificate.pp', line 6
class profile::frtech::kafka_certificate() {
$cert_target_directory = '/etc/fr-tech-kafka-client'
file { $cert_target_directory:
ensure => directory,
mode => '0444',
}
profile::pki::get_cert('kafka', 'kafka_fundraising_client', {
'outdir' => $cert_target_directory,
'owner' => 'root',
'group' => 'fr-tech-admins',
'profile' => 'kafka_11',
})
}
|