puppet-murano/templates/local_settings.py.erb
Andy Botting c86b851ac1 Allow override of dashboard label
Overrides the default dashboard name (Murano) that is displayed
in the main accordion navigation

Change-Id: I49edfe483c87ccc537889609d7eefc11b53f29d2
2016-08-31 12:08:23 +10:00

14 lines
620 B
Plaintext

## MURANO_CONFIG_BEGIN ##
<% if @dashboard_name != nil %>MURANO_DASHBOARD_NAME = '<%= @dashboard_name %>'<% end %>
<% if @repo_url != nil %>MURANO_REPO_URL = '<%= @repo_url %>'<% end %>
MAX_FILE_SIZE_MB = '<%= @max_file_size %>'
METADATA_CACHE_DIR = '<%= @metadata_dir %>'
LOGGING['loggers']['muranodashboard'] = {'handlers': '<%= @log_handler %>', 'level': '<%= @dashboard_debug_level %>'}
LOGGING['loggers']['muranoclient'] = {'handlers': '<%= @log_handler %>', 'level': '<%= @client_debug_level %>'}
<% if @enable_glare %>
MURANO_USE_GLARE = True
<% else %>
MURANO_USE_GLARE = False
<% end %>
## MURANO_CONFIG_END ##