Add comments to identity_registration.rb

Change-Id: Idc55def9c744a9af2780cd99addb7cb66393606e
This commit is contained in:
Roger Luethi 2017-11-01 10:45:36 +01:00 committed by Samuel Cassiba
parent dc2d594b05
commit 37737b68c1
1 changed files with 14 additions and 1 deletions

View File

@ -61,6 +61,9 @@ connection_params = {
openstack_domain_name: admin_domain,
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Create Orchestration service, endpoints
# Register Orchestration Service
openstack_service service_name do
type service_type
@ -93,6 +96,9 @@ openstack_endpoint service_type do
connection_params connection_params
end
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Create heat project, heat user
# Register Service Tenant
openstack_project service_project_name do
connection_params connection_params
@ -118,6 +124,9 @@ end
# Bug: #1309123 reverts 1279577
# if node.run_list.include?('openstack-orchestration::api-cfn')
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Create Cloudformation service, endpoints
# Register Heat API Cloudformation Service
openstack_service 'heat-cfn' do
type 'cloudformation'
@ -149,24 +158,28 @@ openstack_endpoint 'cloudformation' do
region region
connection_params connection_params
end
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Create heat domain, heat_domain_admin user
openstack_domain heat_domain_name do
connection_params connection_params
end
# Create heat_domain_admin in domain heat
openstack_user stack_domain_admin do
domain_name heat_domain_name
password stack_domain_admin_password
connection_params connection_params
end
# Grant role to heat_domain_admin in domain heat
openstack_user stack_domain_admin do
domain_name heat_domain_name
role_name 'admin'
connection_params connection_params
action :grant_domain
end
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
openstack_role 'heat_stack_owner' do
connection_params connection_params
end