puppet-horizon/templates/_1699_orchestration_settings.py.erb
Takashi Kajinami a84514f5b7 Remove enable_user_pass from the base horizon class
... because the parameter was deprecated during Xena cycle in favor of
the separate classes for dashboard plugins.

Change-Id: I0105dca66abed6b4252df93d71c10d838dda1a7b
2022-05-12 09:13:24 +09:00

39 lines
1011 B
Plaintext

from django.conf import settings
OPENSTACK_HEAT_STACK = {
'enable_user_pass': <%= @enable_user_pass.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 %>