Merge "designate: allow designate_ns_record to be a list"
This commit is contained in:
commit
efadc95913
@ -965,7 +965,8 @@ cloudkitty_storage_backend: "influxdb"
|
||||
#######################
|
||||
# Valid options are [ bind9, infoblox ]
|
||||
designate_backend: "bind9"
|
||||
designate_ns_record: "sample.openstack.org"
|
||||
designate_ns_record:
|
||||
- "ns1.example.org"
|
||||
designate_backend_external: "no"
|
||||
designate_backend_external_bind9_nameservers: ""
|
||||
# Valid options are [ '', redis ]
|
||||
|
@ -4,8 +4,15 @@
|
||||
description: Default BIND9 Pool
|
||||
attributes: {}
|
||||
ns_records:
|
||||
{% if designate_ns_record is string %}
|
||||
- hostname: {{ designate_ns_record }}.
|
||||
priority: 1
|
||||
{% else %}
|
||||
{% for host in designate_ns_record %}
|
||||
- hostname: {{ host }}.
|
||||
priority: 1
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
nameservers:
|
||||
{% if designate_backend == 'bind9' %}
|
||||
{% for host in groups['designate-backend-bind9'] %}
|
||||
|
@ -68,7 +68,9 @@ router_distributed = True
|
||||
{% endif %}
|
||||
|
||||
{% if enable_designate | bool %}
|
||||
{% if designate_ns_record is string %}
|
||||
dns_domain = {{ designate_ns_record }}.
|
||||
{% endif %}
|
||||
external_dns_driver = designate
|
||||
{% if neutron_plugin_agent == 'vmware_nsxv' %}
|
||||
nsx_extension_drivers = vmware_nsxv_dns
|
||||
|
@ -35,7 +35,8 @@ Configure Designate options in ``/etc/kolla/globals.yml``
|
||||
.. code-block:: yaml
|
||||
|
||||
dns_interface: "eth1"
|
||||
designate_ns_record: "sample.openstack.org"
|
||||
designate_ns_record:
|
||||
- "ns1.sample.openstack.org"
|
||||
|
||||
.. important::
|
||||
|
||||
|
@ -551,7 +551,8 @@
|
||||
###################
|
||||
# Valid options are [ bind9 ]
|
||||
#designate_backend: "bind9"
|
||||
#designate_ns_record: "sample.openstack.org"
|
||||
#designate_ns_record:
|
||||
# - "ns1.example.org"
|
||||
# Valid options are [ '', redis ]
|
||||
#designate_coordination_backend: "{{ 'redis' if enable_redis|bool else '' }}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user