Add parts and update templates
This commit is contained in:
parent
5f99175a80
commit
9591942ee4
|
@ -25,23 +25,10 @@ volumes_path=/var/lib/nova/volumes
|
||||||
enabled_apis=ec2,osapi_compute,metadata
|
enabled_apis=ec2,osapi_compute,metadata
|
||||||
auth_strategy=keystone
|
auth_strategy=keystone
|
||||||
compute_driver=libvirt.LibvirtDriver
|
compute_driver=libvirt.LibvirtDriver
|
||||||
{% if database_host -%}
|
|
||||||
sql_connection = {{ database_type }}://{{ database_user }}:{{ database_password }}@{{ database_host }}/{{ database }}{% if database_ssl_ca %}?ssl_ca={{ database_ssl_ca }}{% if database_ssl_cert %}&ssl_cert={{ database_ssl_cert }}&ssl_key={{ database_ssl_key }}{% endif %}{% endif %}
|
|
||||||
{% endif -%}
|
|
||||||
|
|
||||||
{% if rabbitmq_host -%}
|
{% include "parts/database" %}
|
||||||
rabbit_host = {{ rabbitmq_host }}
|
|
||||||
rabbit_userid = {{ rabbitmq_user }}
|
{% include "parts/rabbitmq" %}
|
||||||
rabbit_password = {{ rabbitmq_password }}
|
|
||||||
rabbit_virtual_host = {{ rabbitmq_virtual_host }}
|
|
||||||
{% if rabbit_ssl_port %}
|
|
||||||
rabbit_use_ssl=True
|
|
||||||
rabbit_port={{ rabbit_ssl_port }}
|
|
||||||
{% if rabbit_ssl_ca %}
|
|
||||||
kombu_ssl_ca_certs={{rabbit_ssl_ca}}
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
|
||||||
{% endif -%}
|
|
||||||
|
|
||||||
{% if glance_api_servers -%}
|
{% if glance_api_servers -%}
|
||||||
glance_api_servers = {{ glance_api_servers }}
|
glance_api_servers = {{ glance_api_servers }}
|
||||||
|
|
|
@ -17,20 +17,8 @@ auth_strategy = keystone
|
||||||
notification_driver = quantum.openstack.common.notifier.rpc_notifier
|
notification_driver = quantum.openstack.common.notifier.rpc_notifier
|
||||||
default_notification_level = INFO
|
default_notification_level = INFO
|
||||||
notification_topics = notifications
|
notification_topics = notifications
|
||||||
{% if rabbitmq_host -%}
|
|
||||||
rabbit_host = {{ rabbitmq_host }}
|
|
||||||
rabbit_userid = {{ rabbitmq_user }}
|
|
||||||
rabbit_password = {{ rabbitmq_password }}
|
|
||||||
rabbit_virtual_host = {{ rabbitmq_virtual_host }}
|
|
||||||
{% if rabbit_ssl_port %}
|
|
||||||
rabbit_use_ssl=True
|
|
||||||
rabbit_port={{ rabbit_ssl_port }}
|
|
||||||
{% if rabbit_ssl_ca %}
|
|
||||||
kombu_ssl_ca_certs={{rabbit_ssl_ca}}
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
|
||||||
{% endif -%}
|
|
||||||
|
|
||||||
|
{% include "parts/rabbitmq" %}
|
||||||
|
|
||||||
[QUOTAS]
|
[QUOTAS]
|
||||||
|
|
||||||
|
|
|
@ -25,31 +25,10 @@ volumes_path=/var/lib/nova/volumes
|
||||||
enabled_apis=ec2,osapi_compute,metadata
|
enabled_apis=ec2,osapi_compute,metadata
|
||||||
auth_strategy=keystone
|
auth_strategy=keystone
|
||||||
compute_driver=libvirt.LibvirtDriver
|
compute_driver=libvirt.LibvirtDriver
|
||||||
{% if database_host -%}
|
|
||||||
sql_connection = {{ database_type }}://{{ database_user }}:{{ database_password }}@{{ database_host }}/{{ database }}{% if database_ssl_ca %}?ssl_ca={{ database_ssl_ca }}{% if database_ssl_cert %}&ssl_cert={{ database_ssl_cert }}&ssl_key={{ database_ssl_key }}{% endif %}{% endif %}
|
|
||||||
{% endif -%}
|
|
||||||
|
|
||||||
{% if rabbitmq_host or rabbitmq_hosts -%}
|
{% include "parts/database" %}
|
||||||
rabbit_userid = {{ rabbitmq_user }}
|
|
||||||
rabbit_password = {{ rabbitmq_password }}
|
{% include "parts/rabbitmq" %}
|
||||||
rabbit_virtual_host = {{ rabbitmq_virtual_host }}
|
|
||||||
{% if rabbitmq_hosts -%}
|
|
||||||
rabbit_hosts = {{ rabbitmq_hosts }}
|
|
||||||
{% if rabbitmq_ha_queues -%}
|
|
||||||
rabbit_ha_queues = true
|
|
||||||
rabbit_durable_queues = false
|
|
||||||
{% endif %}
|
|
||||||
{% else %}
|
|
||||||
rabbit_host = {{ rabbitmq_host }}
|
|
||||||
{% endif -%}
|
|
||||||
{% if rabbit_ssl_port %}
|
|
||||||
rabbit_use_ssl=True
|
|
||||||
rabbit_port={{ rabbit_ssl_port }}
|
|
||||||
{% if rabbit_ssl_ca %}
|
|
||||||
kombu_ssl_ca_certs={{rabbit_ssl_ca}}
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
|
||||||
{% endif -%}
|
|
||||||
|
|
||||||
{% if glance_api_servers -%}
|
{% if glance_api_servers -%}
|
||||||
glance_api_servers = {{ glance_api_servers }}
|
glance_api_servers = {{ glance_api_servers }}
|
||||||
|
|
|
@ -20,27 +20,7 @@ use_syslog = {{ use_syslog }}
|
||||||
default_notification_level = INFO
|
default_notification_level = INFO
|
||||||
notification_topics = notifications
|
notification_topics = notifications
|
||||||
|
|
||||||
{% if rabbitmq_host or rabbitmq_hosts -%}
|
{% include "parts/rabbitmq" %}
|
||||||
rabbit_userid = {{ rabbitmq_user }}
|
|
||||||
rabbit_password = {{ rabbitmq_password }}
|
|
||||||
rabbit_virtual_host = {{ rabbitmq_virtual_host }}
|
|
||||||
{% if rabbitmq_hosts -%}
|
|
||||||
rabbit_hosts = {{ rabbitmq_hosts }}
|
|
||||||
{% if rabbitmq_ha_queues -%}
|
|
||||||
rabbit_ha_queues = true
|
|
||||||
rabbit_durable_queues = false
|
|
||||||
{% endif %}
|
|
||||||
{% else %}
|
|
||||||
rabbit_host = {{ rabbitmq_host }}
|
|
||||||
{% endif -%}
|
|
||||||
{% if rabbit_ssl_port %}
|
|
||||||
rabbit_use_ssl=True
|
|
||||||
rabbit_port={{ rabbit_ssl_port }}
|
|
||||||
{% if rabbit_ssl_ca %}
|
|
||||||
kombu_ssl_ca_certs={{rabbit_ssl_ca}}
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
|
||||||
{% endif -%}
|
|
||||||
|
|
||||||
[QUOTAS]
|
[QUOTAS]
|
||||||
|
|
||||||
|
|
|
@ -25,31 +25,10 @@ volumes_path=/var/lib/nova/volumes
|
||||||
enabled_apis=ec2,osapi_compute,metadata
|
enabled_apis=ec2,osapi_compute,metadata
|
||||||
auth_strategy=keystone
|
auth_strategy=keystone
|
||||||
compute_driver=libvirt.LibvirtDriver
|
compute_driver=libvirt.LibvirtDriver
|
||||||
{% if database_host -%}
|
|
||||||
sql_connection = {{ database_type }}://{{ database_user }}:{{ database_password }}@{{ database_host }}/{{ database }}{% if database_ssl_ca %}?ssl_ca={{ database_ssl_ca }}{% if database_ssl_cert %}&ssl_cert={{ database_ssl_cert }}&ssl_key={{ database_ssl_key }}{% endif %}{% endif %}
|
|
||||||
{% endif -%}
|
|
||||||
|
|
||||||
{% if rabbitmq_host or rabbitmq_hosts -%}
|
{% include "parts/database" %}
|
||||||
rabbit_userid = {{ rabbitmq_user }}
|
|
||||||
rabbit_password = {{ rabbitmq_password }}
|
{% include "parts/rabbitmq" %}
|
||||||
rabbit_virtual_host = {{ rabbitmq_virtual_host }}
|
|
||||||
{% if rabbitmq_hosts -%}
|
|
||||||
rabbit_hosts = {{ rabbitmq_hosts }}
|
|
||||||
{% if rabbitmq_ha_queues -%}
|
|
||||||
rabbit_ha_queues = true
|
|
||||||
rabbit_durable_queues = false
|
|
||||||
{% endif %}
|
|
||||||
{% else %}
|
|
||||||
rabbit_host = {{ rabbitmq_host }}
|
|
||||||
{% endif -%}
|
|
||||||
{% if rabbit_ssl_port %}
|
|
||||||
rabbit_use_ssl=True
|
|
||||||
rabbit_port={{ rabbit_ssl_port }}
|
|
||||||
{% if rabbit_ssl_ca %}
|
|
||||||
kombu_ssl_ca_certs={{rabbit_ssl_ca}}
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
|
||||||
{%- endif -%}
|
|
||||||
|
|
||||||
{% if glance_api_servers -%}
|
{% if glance_api_servers -%}
|
||||||
glance_api_servers = {{ glance_api_servers }}
|
glance_api_servers = {{ glance_api_servers }}
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
{% if database_host -%}
|
||||||
|
sql_connection = {{ database_type }}://{{ database_user }}:{{ database_password }}@{{ database_host }}/{{ database }}{% if database_ssl_ca %}?ssl_ca={{ database_ssl_ca }}{% if database_ssl_cert %}&ssl_cert={{ database_ssl_cert }}&ssl_key={{ database_ssl_key }}{% endif %}{% endif %}
|
||||||
|
{% endif -%}
|
|
@ -0,0 +1,21 @@
|
||||||
|
{% if rabbitmq_host or rabbitmq_hosts -%}
|
||||||
|
rabbit_userid = {{ rabbitmq_user }}
|
||||||
|
rabbit_virtual_host = {{ rabbitmq_virtual_host }}
|
||||||
|
rabbit_password = {{ rabbitmq_password }}
|
||||||
|
{% if rabbitmq_hosts -%}
|
||||||
|
rabbit_hosts = {{ rabbitmq_hosts }}
|
||||||
|
{% if rabbitmq_ha_queues -%}
|
||||||
|
rabbit_ha_queues = True
|
||||||
|
rabbit_durable_queues = False
|
||||||
|
{% endif -%}
|
||||||
|
{% else -%}
|
||||||
|
rabbit_host = {{ rabbitmq_host }}
|
||||||
|
{% endif -%}
|
||||||
|
{% if rabbit_ssl_port -%}
|
||||||
|
rabbit_use_ssl = True
|
||||||
|
rabbit_port = {{ rabbit_ssl_port }}
|
||||||
|
{% if rabbit_ssl_ca -%}
|
||||||
|
kombu_ssl_ca_certs = {{ rabbit_ssl_ca }}
|
||||||
|
{% endif -%}
|
||||||
|
{% endif -%}
|
||||||
|
{% endif -%}
|
Loading…
Reference in New Issue