Project

General

Profile

Download (1.41 KB) Statistics
| Branch: | Tag: | Revision:
CONTENT_HOST = "<%= scope['pulpcore::servername'] %>"
CONTENT_ORIGIN = "http://<%= scope['pulpcore::servername'] %>"
SECRET_KEY = "<%= scope['pulpcore::django_secret_key'] %>"
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': '<%= scope['pulpcore::postgresql_db_name'] %>',
'USER': '<%= scope['pulpcore::postgresql_db_user'] %>',
'PASSWORD': '<%= scope['pulpcore::postgresql_db_password'] %>',
'HOST': '<%= scope['pulpcore::postgresql_db_host'] %>',
'PORT': '<%= scope['pulpcore::postgresql_db_port'] %>',
<% if scope['pulpcore::postgresql_db_ssl'] && !scope['pulpcore::postgresql_manage_db'] -%>
'OPTIONS': {
'sslmode': '<%= scope['pulpcore::postgresql_db_ssl_require'] ? 'require' : 'disable' %>',
'sslcert': '<%= scope['pulpcore::postgresql_db_ssl_cert'] %>',
'sslkey': '<%= scope['pulpcore::postgresql_db_ssl_key'] %>',
'sslrootcert': '<%= scope['pulpcore::postgresql_db_ssl_root_ca'] %>',
},
<% end -%>
},
}
MEDIA_ROOT = "<%= scope['pulpcore::webserver_static_dir'] %>"
REDIS_HOST = "localhost"
REDIS_PORT = "<%= scope['redis::port'] %>"
REDIS_DB = <%= scope['pulpcore::redis_db'] %>
WORKING_DIRECTORY = "<%= scope['pulpcore::cache_dir'] %>"
<% if scope['pulpcore::remote_user_environ_name'] -%>
REMOTE_USER_ENVIRON_NAME = '<%= scope['pulpcore::remote_user_environ_name'] %>'
<% end -%>
(6-6/6)