puppet-horizon/templates/_1799_dns_settings.py.erb
Takashi Kajinami 7577a23c65 Add support for independent designate-dashboard configurations
This change introduces the new horizon::dashboards::designate class,
which allows users to manage the independent configuration file for
designate dashboard (_1799_dns_settings.py).

Depends-on: https://review.opendev.org/823238
Change-Id: Ie36d70b7b9fdde5f1ceb4be59cfb4f5c16981e7d
2022-06-17 09:02:46 +09:00

11 lines
197 B
Plaintext

from django.conf import settings
settings.POLICY_FILES.update({
'dns': '<%= @policy_file_real %>',
})
settings.DEFAULT_POLICY_FILES.update({
'dns': 'default_policies/designate.yaml',
})