Add comments to identity_registration.rb
Change-Id: Idc55def9c744a9af2780cd99addb7cb66393606e
This commit is contained in:
parent
dc2d594b05
commit
37737b68c1
|
@ -61,6 +61,9 @@ connection_params = {
|
||||||
openstack_domain_name: admin_domain,
|
openstack_domain_name: admin_domain,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
# Create Orchestration service, endpoints
|
||||||
|
|
||||||
# Register Orchestration Service
|
# Register Orchestration Service
|
||||||
openstack_service service_name do
|
openstack_service service_name do
|
||||||
type service_type
|
type service_type
|
||||||
|
@ -93,6 +96,9 @@ openstack_endpoint service_type do
|
||||||
connection_params connection_params
|
connection_params connection_params
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
# Create heat project, heat user
|
||||||
|
|
||||||
# Register Service Tenant
|
# Register Service Tenant
|
||||||
openstack_project service_project_name do
|
openstack_project service_project_name do
|
||||||
connection_params connection_params
|
connection_params connection_params
|
||||||
|
@ -118,6 +124,9 @@ end
|
||||||
# Bug: #1309123 reverts 1279577
|
# Bug: #1309123 reverts 1279577
|
||||||
# if node.run_list.include?('openstack-orchestration::api-cfn')
|
# if node.run_list.include?('openstack-orchestration::api-cfn')
|
||||||
|
|
||||||
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
# Create Cloudformation service, endpoints
|
||||||
|
|
||||||
# Register Heat API Cloudformation Service
|
# Register Heat API Cloudformation Service
|
||||||
openstack_service 'heat-cfn' do
|
openstack_service 'heat-cfn' do
|
||||||
type 'cloudformation'
|
type 'cloudformation'
|
||||||
|
@ -149,24 +158,28 @@ openstack_endpoint 'cloudformation' do
|
||||||
region region
|
region region
|
||||||
connection_params connection_params
|
connection_params connection_params
|
||||||
end
|
end
|
||||||
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
# Create heat domain, heat_domain_admin user
|
||||||
|
|
||||||
openstack_domain heat_domain_name do
|
openstack_domain heat_domain_name do
|
||||||
connection_params connection_params
|
connection_params connection_params
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Create heat_domain_admin in domain heat
|
||||||
openstack_user stack_domain_admin do
|
openstack_user stack_domain_admin do
|
||||||
domain_name heat_domain_name
|
domain_name heat_domain_name
|
||||||
password stack_domain_admin_password
|
password stack_domain_admin_password
|
||||||
connection_params connection_params
|
connection_params connection_params
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Grant role to heat_domain_admin in domain heat
|
||||||
openstack_user stack_domain_admin do
|
openstack_user stack_domain_admin do
|
||||||
domain_name heat_domain_name
|
domain_name heat_domain_name
|
||||||
role_name 'admin'
|
role_name 'admin'
|
||||||
connection_params connection_params
|
connection_params connection_params
|
||||||
action :grant_domain
|
action :grant_domain
|
||||||
end
|
end
|
||||||
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
openstack_role 'heat_stack_owner' do
|
openstack_role 'heat_stack_owner' do
|
||||||
connection_params connection_params
|
connection_params connection_params
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue