forked from redhat-openstack/openstack-puppet-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge "Prevent dollar signs and single quotes in variables from being…
… removed by shell"
- Loading branch information
Showing
2 changed files
with
58 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
#!/bin/sh | ||
<% if @keystone_admin_token -%> | ||
export OS_SERVICE_TOKEN=<%= @keystone_admin_token %> | ||
export OS_SERVICE_ENDPOINT=http://<%= @controller_node %>:35357/v2.0/ | ||
export OS_SERVICE_TOKEN='<%= @keystone_admin_token.gsub(/'/){ %q(\') } %>' | ||
export OS_SERVICE_ENDPOINT='http://<%= @controller_node %>:35357/v2.0/' | ||
<% end -%> | ||
export OS_NO_CACHE=<%= @use_no_cache %> | ||
export OS_TENANT_NAME=<%= @admin_tenant %> | ||
export OS_USERNAME=<%= @admin_user %> | ||
export OS_PASSWORD=<%= @admin_password %> | ||
export OS_AUTH_URL=http://<%= @controller_node %>:5000/v2.0/ | ||
export OS_AUTH_STRATEGY=keystone | ||
export OS_REGION_NAME=<%= @region_name %> | ||
export CINDER_ENDPOINT_TYPE=<%= @cinder_endpoint_type %> | ||
export GLANCE_ENDPOINT_TYPE=<%= @glance_endpoint_type %> | ||
export KEYSTONE_ENDPOINT_TYPE=<%= @keystone_endpoint_type %> | ||
export NOVA_ENDPOINT_TYPE=<%= @nova_endpoint_type %> | ||
export NEUTRON_ENDPOINT_TYPE=<%= @neutron_endpoint_type %> | ||
export OS_NO_CACHE='<%= @use_no_cache %>' | ||
export OS_TENANT_NAME='<%= @admin_tenant %>' | ||
export OS_USERNAME='<%= @admin_user %>' | ||
export OS_PASSWORD='<%= @admin_password.gsub(/'/){ %q(\') } %>' | ||
export OS_AUTH_URL='http://<%= @controller_node %>:5000/v2.0/' | ||
export OS_AUTH_STRATEGY='keystone' | ||
export OS_REGION_NAME='<%= @region_name %>' | ||
export CINDER_ENDPOINT_TYPE='<%= @cinder_endpoint_type %>' | ||
export GLANCE_ENDPOINT_TYPE='<%= @glance_endpoint_type %>' | ||
export KEYSTONE_ENDPOINT_TYPE='<%= @keystone_endpoint_type %>' | ||
export NOVA_ENDPOINT_TYPE='<%= @nova_endpoint_type %>' | ||
export NEUTRON_ENDPOINT_TYPE='<%= @neutron_endpoint_type %>' |