Project

General

Profile

« Previous | Next » 

Revision 4ad6d02a

Added by Ivan Necas over 10 years ago

Extract Candlepin specific certs settings into candlepin::certs

View differences:

manifests/init.pp
) inherits candlepin::params {
include certs
include certs::config
$keystore_password = $certs::keystore_password
$weburl = "https://${::fqdn}/${candlepin::deployment_url}/distributors?uuid="
$apiurl = "https://${::fqdn}/${candlepin::deployment_url}/api/distributors/"
$keystore_password_file = '/etc/katello/keystore_password-file'
$keystore_password = find_or_create_password($keystore_password_file)
if $candlepin::thumbslug_enabled {
require 'thumbslug::params'
$thumbslug_oauth_key = 'thumbslug'
......
class { 'candlepin::install': } ~>
class { 'candlepin::config': } ~>
class { 'candlepin::certs':
keystore_password_file => $keystore_password_file,
keystore_password => $keystore_password,
} ~>
class { 'candlepin::database': } ~>
class { 'candlepin::service': } ->
Class['candlepin']

Also available in: Unified diff