puppet-horizon/templates/_1499_load_balancer_settings.py.erb
Takashi Kajinami bccc7c467d Fix missing comma causing syntax error
This fixes one missing comma in octavia dashboard configuration to
fix the syntax error.

Closes-Bug: #2015271
Change-Id: If896f922db09396415a095fb9a8062eca32a9d06
2023-04-05 00:33:42 +09:00

41 lines
989 B
Plaintext

from django.conf import settings
settings.POLICY_FILES.update({
'load-balancer': '<%= @policy_file_real %>',
})
settings.DEFAULT_POLICY_FILES.update({
'load-balancer': 'default_policies/octavia.yaml',
})
# Sample
# settings.LOGGING['loggers'].update({
# 'openstack': {
# 'handlers': ['console'],
# 'level': 'DEBUG',
# 'propagate': False,
# },
# 'barbicanclient': {
# 'handlers': ['console'],
# 'level': 'DEBUG',
# 'propagate': False,
# }
# })
settings.LOGGING['loggers'].update({
'openstack': {
# 'handlers': ['console'],
'handlers': ['<%= @log_handlers.join("', '") %>'],
# level': 'DEBUG',
'level': '<%= @log_level %>',
'propagate': False,
},
'barbicanclient': {
# 'handlers': ['console'],
'handlers': ['<%= @log_handlers.join("', '") %>'],
# level': 'DEBUG',
'level': '<%= @log_level %>',
'propagate': False,
}
})