Project

General

Profile

Download (958 Bytes) Statistics
| Branch: | Tag: | Revision:
37540211 Eric D. Helms
# Candlepin params
832bafa6 Eric D. Helms
class candlepin::params {

a62902c1 Jason Montleon
$tomcat = $::osfamily ? {
/^(RedHat|Linux)/ => $::operatingsystem ? {
'Fedora' => 'tomcat',
default => $::operatingsystemrelease ? {
/^7\./ => 'tomcat',
default => 'tomcat6'
}
05d5a04e Eric D. Helms
}
37540211 Eric D. Helms
}
832bafa6 Eric D. Helms
37540211 Eric D. Helms
$db_user = 'candlepin'
$db_name = 'candlepin'
832bafa6 Eric D. Helms
37540211 Eric D. Helms
# this comes from keystore
0002bda7 Eric D. Helms
$db_password = cache_data('candlepin_db_password', random_password(32))
832bafa6 Eric D. Helms
# where to store output from cpsetup execution
37540211 Eric D. Helms
$log_dir = '/var/log/candlepin'

$crl_file = '/var/lib/candlepin/candlepin-crl.crl'
832bafa6 Eric D. Helms
37540211 Eric D. Helms
$oauth_key = 'candlepin'
$oauth_secret = 'candlepin'

$thumbslug_oauth_key = 'thumbslug'
$thumbslug_oauth_secret = 'thumbslug'

0002bda7 Eric D. Helms
$ca_key = '/etc/candlepin/certs/candlepin-ca.key'
$ca_cert = '/etc/candlepin/certs/candlepin-ca.crt'
$ca_key_password = undef

37540211 Eric D. Helms
$user_groups = []
832bafa6 Eric D. Helms
37540211 Eric D. Helms
$env_filtering_enabled = true
$thumbslug_enabled = false

$deployment_url = 'candlepin'
832bafa6 Eric D. Helms
}