Merge pull request #24 from retr0h/working
Added auth_host, auth_port, auth_scheme
This commit is contained in:
@@ -94,8 +94,8 @@ template "/etc/cinder/api-paste.ini" do
|
||||
owner node["cinder"]["user"]
|
||||
mode 00644
|
||||
variables(
|
||||
"auth_uri" => auth_uri,
|
||||
"service_password" => service_pass
|
||||
:identity_admin_endpoint => identity_admin_endpoint,
|
||||
:service_pass => service_pass
|
||||
)
|
||||
|
||||
notifies :restart, resources(:service => "cinder-api"), :immediately
|
||||
|
||||
@@ -45,7 +45,9 @@ paste.filter_factory = cinder.api.auth:CinderKeystoneContext.factory
|
||||
# when keystoneclient packages are updated (which contain the middleware, not
|
||||
# the Keystone server package...)
|
||||
paste.filter_factory = keystone.middleware.auth_token:filter_factory
|
||||
auth_uri = <%= @auth_uri %>
|
||||
auth_host = <%= @identity_admin_endpoint.host %>
|
||||
auth_port = <%= @identity_admin_endpoint.port %>
|
||||
auth_protocol = <%= @identity_admin_endpoint.scheme %>
|
||||
admin_tenant_name = <%= node["cinder"]["service_tenant_name"] %>
|
||||
admin_user = <%= node["cinder"]["service_user"] %>
|
||||
admin_password = <%= @service_pass %>
|
||||
|
||||
Reference in New Issue
Block a user