Browse Source

Add comments to identity_registration.rb

Change-Id: Idc55def9c744a9af2780cd99addb7cb66393606e
changes/38/519338/2
Roger Luethi 1 year ago
parent
commit
37737b68c1
1 changed files with 14 additions and 1 deletions
  1. 14
    1
      recipes/identity_registration.rb

+ 14
- 1
recipes/identity_registration.rb View File

@@ -61,6 +61,9 @@ connection_params = {
61 61
   openstack_domain_name:    admin_domain,
62 62
 }
63 63
 
64
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
65
+# Create Orchestration service, endpoints
66
+
64 67
 # Register Orchestration Service
65 68
 openstack_service service_name do
66 69
   type service_type
@@ -93,6 +96,9 @@ openstack_endpoint service_type do
93 96
   connection_params connection_params
94 97
 end
95 98
 
99
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
100
+# Create heat project, heat user
101
+
96 102
 # Register Service Tenant
97 103
 openstack_project service_project_name do
98 104
   connection_params connection_params
@@ -118,6 +124,9 @@ end
118 124
 # Bug: #1309123   reverts 1279577
119 125
 # if node.run_list.include?('openstack-orchestration::api-cfn')
120 126
 
127
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
128
+# Create Cloudformation service, endpoints
129
+
121 130
 # Register Heat API Cloudformation Service
122 131
 openstack_service 'heat-cfn' do
123 132
   type 'cloudformation'
@@ -149,24 +158,28 @@ openstack_endpoint 'cloudformation' do
149 158
   region region
150 159
   connection_params connection_params
151 160
 end
161
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
162
+# Create heat domain, heat_domain_admin user
152 163
 
153 164
 openstack_domain heat_domain_name do
154 165
   connection_params connection_params
155 166
 end
156 167
 
168
+# Create heat_domain_admin in domain heat
157 169
 openstack_user stack_domain_admin do
158 170
   domain_name heat_domain_name
159 171
   password stack_domain_admin_password
160 172
   connection_params connection_params
161 173
 end
162 174
 
175
+# Grant role to heat_domain_admin in domain heat
163 176
 openstack_user stack_domain_admin do
164 177
   domain_name heat_domain_name
165 178
   role_name 'admin'
166 179
   connection_params connection_params
167 180
   action :grant_domain
168 181
 end
169
-
182
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
170 183
 openstack_role 'heat_stack_owner' do
171 184
   connection_params connection_params
172 185
 end

Loading…
Cancel
Save