Project

General

Profile

Download (1.84 KB) Statistics
| Branch: | Tag: | Revision:
# Certs Parameters
class certs::params {

if file_exists('/usr/sbin/tomcat') and file_exists('/usr/sbin/tomcat6') {
$tomcat = 'tomcat'
}
else {
$tomcat = 'tomcat6'
}

$log_dir = '/var/log/certs'

$node_fqdn = $::fqdn

$ca_common_name = $::fqdn # we need fqdn as CA common name as candlepin uses it as a ssl cert

$generate = true
$regenerate = false
$regenerate_ca = false
$deploy = true

$country = 'US'
$state = 'North Carolina'
$city = 'Raleigh'
$org = 'SomeOrg'
$org_unit = 'SomeOrgUnit'
$expiration = '365'
$ca_expiration = '36500'

$ssl_ca_password_file = '/etc/katello/ssl_ca_password-file'
$candlepin_ca_password_file = '/etc/katello/candlepin_ca_password-file'

# main keystore location
$pki_dir = '/etc/pki/katello'
$keystore = "${pki_dir}/keystore"
$keystore_password_file = '/etc/katello/keystore_password-file'
$keystore_password = find_or_create_password($keystore_password_file)

$nss_db_password_file = '/etc/katello/nss_db_password-file'
$nss_db_dir = '/etc/pki/katello/nssdb'
$ssl_pk12_password_file = '/etc/katello/pk12_password-file'

$candlepin_certs_dir = '/etc/candlepin/certs'

$user_groups = 'foreman'

$foreman_client_cert = '/etc/foreman/client_cert.pem'
$foreman_client_key = '/etc/foreman/client_key.pem'
$foreman_client_ca = '/etc/foreman/client_ca.pem'

$foreman_proxy_cert = '/etc/foreman-proxy/ssl_cert.pem'
$foreman_proxy_key = '/etc/foreman-proxy/ssl_key.pem'
$foreman_proxy_ca = '/etc/foreman-proxy/ssl_ca.pem'

$puppet_client_cert = '/etc/puppet/client_cert.pem'
$puppet_client_key = '/etc/puppet/client_key.pem'
$puppet_client_ca = '/etc/puppet/client_ca.pem'

$apache_ssl_cert = '/etc/pki/tls/certs/katello-node.crt'
$apache_ssl_key = '/etc/pki/tls/private/katello-node.key'
$apache_ca_cert = '/etc/pki/tls/certs/katello-ca.crt'
}
(8-8/14)