ad87d13355
Change-Id: I90b19a4111e4496eb0e022fd8c7b9bba34b4d097
39 lines
1015 B
Plaintext
39 lines
1015 B
Plaintext
from django.conf import settings
|
|
|
|
|
|
OPENSTACK_HEAT_STACK = {
|
|
'enable_user_pass': <%= @enable_user_pass_real.to_s.capitalize %>,
|
|
}
|
|
|
|
settings.POLICY_FILES.update({
|
|
'orchestration': '<%= @policy_file_real %>',
|
|
})
|
|
|
|
settings.DEFAULT_POLICY_FILES.update({
|
|
'orchestration': 'default_policies/heat.yaml',
|
|
})
|
|
|
|
# Sample
|
|
# settings.LOGGING['loggers'].update({
|
|
# 'heatclient': {
|
|
# 'handlers': ['console'],
|
|
# 'level': 'DEBUG',
|
|
# 'propagate': False,
|
|
# }
|
|
# })
|
|
settings.LOGGING['loggers'].update({
|
|
'heatclient': {
|
|
# 'handlers': ['console'],
|
|
'handlers': ['<%= @log_handlers.join("', '") %>']
|
|
# level': 'DEBUG',
|
|
'level': '<%= @log_level %>',
|
|
'propagate': False,
|
|
}
|
|
})
|
|
|
|
# Template Generator retrieve options API TIMEOUT
|
|
HEAT_TEMPLATE_GENERATOR_API_TIMEOUT = <%= @template_generator_api_timeout.to_s %>
|
|
|
|
# Template Generator retrieve options API PARALLEL LEVEL
|
|
HEAT_TEMPLATE_GENERATOR_API_PARALLEL = <%= @template_generator_api_parallel.to_s %>
|