Skip to content

Commit

Permalink
Provisioning ssl parameters in heat conifg files.
Browse files Browse the repository at this point in the history
Change-Id: I982b74ea9c760d8679aedf0cb2902a72f457efed
Closes-Bug: 1658753
(cherry picked from commit 3038283)
  • Loading branch information
cijohnson committed Jan 25, 2017
1 parent c9fa1e8 commit 7605552
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions contrail_provisioning/openstack/scripts/heat-server-setup.sh
Expand Up @@ -149,8 +149,11 @@ for svc in heat; do
openstack-config --set /etc/$svc/$svc.conf keystone_authtoken auth_host $controller_ip
openstack-config --set /etc/$svc/$svc.conf keystone_authtoken auth_port 35357
openstack-config --set /etc/$svc/$svc.conf keystone_authtoken auth_protocol $AUTH_PROTOCOL
if [ $KEYSTONE_INSECURE == "True" ]; then
openstack-config --set /etc/$svc/$svc.conf keystone_authtoken insecure $KEYSTONE_INSECURE
if [ $AUTH_PROTOCOL == "https" ]; then
openstack-config --set /etc/$svc/$svc.conf keystone_authtoken insecure True
openstack-config --set /etc/$svc/$svc.conf clients_keystone insecure True
openstack-config --set /etc/$svc/$svc.conf clients_neutron insecure True
openstack-config --set /etc/$svc/$svc.conf clients_contrail use_ssl True
fi
openstack-config --set /etc/$svc/$svc.conf keystone_authtoken admin_tenant_name service
openstack-config --set /etc/$svc/$svc.conf keystone_authtoken admin_user $svc
Expand Down

0 comments on commit 7605552

Please sign in to comment.