forked from theforeman/puppet-candlepin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathparams.pp
65 lines (49 loc) · 1.54 KB
/
params.pp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Candlepin params
class candlepin::params {
$tomcat = $::osfamily ? {
/^(RedHat|Linux)/ => $::operatingsystem ? {
'Fedora' => 'tomcat',
default => $::operatingsystemrelease ? {
/^7\./ => 'tomcat',
default => 'tomcat6'
}
},
default => 'tomcat'
}
$manage_db = true
$db_type = 'postgresql'
$db_host = 'localhost'
$db_user = 'candlepin'
$db_name = 'candlepin'
$db_port = undef
# this comes from keystore
$db_password = cache_data('foreman_cache_data', 'candlepin_db_password', random_password(32))
$keystore_password = undef
$amq_enable = false
$amqp_keystore_password = undef
$amqp_truststore_password = undef
$amqp_keystore = '/etc/candlepin/certs/amqp/candlepin.jks'
$amqp_truststore = '/etc/candlepin/certs/amqp/candlepin.truststore'
# where to store output from cpsetup execution
$log_dir = '/var/log/candlepin'
$crl_file = '/var/lib/candlepin/candlepin-crl.crl'
$oauth_key = 'candlepin'
$oauth_secret = 'candlepin'
$thumbslug_oauth_key = 'thumbslug'
$thumbslug_oauth_secret = 'thumbslug'
$ca_key = '/etc/candlepin/certs/candlepin-ca.key'
$ca_cert = '/etc/candlepin/certs/candlepin-ca.crt'
$ca_key_password = undef
$user_groups = []
$env_filtering_enabled = true
$thumbslug_enabled = false
$deployment_url = 'candlepin'
$qpid_ssl_port = 5671
$version = 'installed'
$run_init = true
$adapter_module = undef
$enable_hbm2ddl_validate = true
$enable_basic_auth = true
$enable_trusted_auth = false
$consumer_system_name_pattern = undef
}