puppet-candlepin/templates/etc/candlepin/candlepin.conf.erb @ 37540211
832bafa6 | Eric D. Helms | #
|
|
# WARNING: THIS CONFIGURATION WAS GENERATED BY KATELLO-CONFIGURE TOOL,
|
|||
# CHANGES WILL LIKELY BE OVERWRITTEN.
|
|||
#
|
|||
jpa.config.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
|
|||
jpa.config.hibernate.connection.driver_class=org.postgresql.Driver
|
|||
37540211 | Eric D. Helms | jpa.config.hibernate.connection.url=jdbc:postgresql:<%= scope.lookupvar("candlepin::db_name") %>
|
|
832bafa6 | Eric D. Helms | jpa.config.hibernate.hbm2ddl.auto=validate
|
|
37540211 | Eric D. Helms | jpa.config.hibernate.connection.username=<%= scope.lookupvar("candlepin::db_user") %>
|
|
832bafa6 | Eric D. Helms | <% Puppet::Parser::Functions::function('katello_passencrypt') %>
|
|
37540211 | Eric D. Helms | jpa.config.hibernate.connection.password=<%= scope.function_katello_passencrypt([scope.lookupvar("candlepin::db_pass")]) %>
|
|
832bafa6 | Eric D. Helms | candlepin.consumer_system_name_pattern = .+
|
|
37540211 | Eric D. Helms | candlepin.environment_content_filtering=<%= scope.lookupvar("candlepin::env_filtering_enabled") %>
|
|
832bafa6 | Eric D. Helms | candlepin.auth.basic.enable = false
|
|
candlepin.auth.trusted.enable = false
|
|||
candlepin.enable_cert_v3=true
|
|||
37540211 | Eric D. Helms | candlepin.export.prefix.weburl=<%= scope.lookupvar("candlepin::weburl") %>
|
|
candlepin.export.prefix.apiurl=<%= scope.lookupvar("candlepin::apiurl") %>
|
|||
<% if scope.lookupvar("candlepin::oauth_key") != "" -%>
|
|||
832bafa6 | Eric D. Helms | module.config.katello=org.candlepin.katello.KatelloModule
|
|
candlepin.auth.oauth.enable = true
|
|||
37540211 | Eric D. Helms | candlepin.auth.oauth.consumer.<%= scope.lookupvar("candlepin::oauth_key") %>.secret = <%= scope.lookupvar("candlepin::oauth_secret") %>
|
|
candlepin.crl.file = <%= scope.lookupvar("candlepin::crl_file") %>
|
|||
832bafa6 | Eric D. Helms | <%- end -%>
|
|
37540211 | Eric D. Helms | <% if scope.lookupvar("candlepin::thumbslug_enabled") -%>
|
|
candlepin.auth.oauth.consumer.thumbslug.secret = <%= scope.lookupvar("candlepin::thumbslug_oauth_secret") %>
|
|||
832bafa6 | Eric D. Helms | <%- end -%>
|