From a85b9648d7eb54c2222764d2b5c646fad758f6e4 Mon Sep 17 00:00:00 2001 From: James Page Date: Wed, 10 Feb 2016 10:53:12 +0000 Subject: [PATCH] Fixup liberty messaging config --- templates/liberty/heat.conf | 56 +++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 templates/liberty/heat.conf diff --git a/templates/liberty/heat.conf b/templates/liberty/heat.conf new file mode 100644 index 0000000..07997c9 --- /dev/null +++ b/templates/liberty/heat.conf @@ -0,0 +1,56 @@ +[DEFAULT] +use_syslog = {{ use_syslog }} +debug = False +verbose = False +log_dir = /var/log/heat +instance_user={{ instance_user }} +instance_driver=heat.engine.nova +plugin_dirs=/usr/lib64/heat,/usr/lib/heat +environment_dir=/etc/heat/environment.d +deferred_auth_method=password +host=heat +auth_encryption_key={{ encryption_key }} + +{% if auth_host -%} +[keystone_authtoken] +identity_uri = {{ service_protocol }}://{{ service_host }}:{{ auth_port }} +auth_uri = {{ service_protocol }}://{{ service_host }}:{{ service_port }}/v2.0 +auth_host = {{ auth_host }} +auth_port = {{ auth_port }} +auth_protocol = {{ auth_protocol }} +admin_tenant_name = {{ admin_tenant_name }} +admin_user = {{ admin_user }} +admin_password = {{ admin_password }} +signing_dir = {{ signing_dir }} +{% endif %} + +[ec2_authtoken] +auth_uri = {{service_protocol }}://{{ service_host }}:{{ service_port }}/v2.0 +keystone_ec2_uri = {{service_protocol }}://{{ service_host }}:{{ service_port }}/v2.0/ec2tokens + +{% if database_host -%} +[database] +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 -%} + +[paste_deploy] +api_paste_config=/etc/heat/api-paste.ini + +[heat_api] +bind_host = {{ bind_host }} +{% if api_listen_port -%} +bind_port={{ api_listen_port }} +{% else -%} +bind_port=8004 +{% endif %} + +[heat_api_cfn] +bind_host = {{ bind_host }} +{% if api_cfn_listen_port -%} +bind_port={{ api_cfn_listen_port }} +{% else -%} +bind_port=8000 +{% endif %} + +{% include "section-rabbitmq-oslo" %} +