Project

General

Profile

« Previous | Next » 

Revision 78a037a3

Added by Ewoud Kohl van Wijngaarden over 6 years ago

Stop managing tomcat keystore symlink

https://github.com/Katello/puppet-katello/commit/4e1371e8c93d75465b1f5b5f8fd025b90c8b9424
started to manage think symlink as well. That means we can stop managing
it here.

View differences:

manifests/candlepin.pp
$amqp_truststore = $::certs::candlepin_amqp_truststore,
$amqp_keystore = $::certs::candlepin_amqp_keystore,
$amqp_store_dir = $::certs::candlepin_amqp_store_dir,
$tomcat = $::certs::tomcat,
$country = $::certs::country,
$state = $::certs::state,
$city = $::certs::city,
......
command => "openssl pkcs12 -export -in ${tomcat_cert} -inkey ${tomcat_key} -out ${keystore} -name tomcat -CAfile ${ca_cert} -caname root -password \"file:${password_file}\" -passin \"file:${ca_key_password_file}\" ",
creates => $keystore,
} ~>
file { "/usr/share/${tomcat}/conf/keystore":
ensure => link,
target => $keystore,
owner => 'tomcat',
group => $group,
} ->
certs::keypair { 'candlepin':
key_pair => $java_client_cert_name,
key_file => $client_key,
manifests/params.pp
# Certs Parameters
class certs::params {
$tomcat = 'tomcat'
$log_dir = '/var/log/certs'
$pki_dir = '/etc/pki/katello'
$ssl_build_dir = '/root/ssl-build'

Also available in: Unified diff