Skip to content

Commit 69d63ff

Browse files
committed
Set configuration_script for TerraformEnterprise
1 parent 87e7e65 commit 69d63ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/controllers/catalog_controller.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,7 @@ def atomic_req_submit
10941094
end
10951095
common_st_record_vars(st)
10961096
add_orchestration_template_vars(st) if st.kind_of?(ServiceTemplateOrchestration)
1097-
add_ansible_tower_job_template_vars(st) if st.kind_of?(ServiceTemplateAnsibleTower) || st.kind_of?(ServiceTemplateAwx)
1097+
add_configuration_script_vars(st) if st.kind_of?(ServiceTemplateAnsibleTower) || st.kind_of?(ServiceTemplateAwx) || st.kind_of?(ServiceTemplateTerraformEnterprise)
10981098
add_server_profile_template_vars(st) if @edit[:new][:st_prov_type] == 'cisco_intersight'
10991099
st.service_type = "atomic"
11001100

@@ -1658,7 +1658,7 @@ def add_orchestration_template_vars(st)
16581658
st.orchestration_manager = @edit[:new][:manager_id].nil? ? nil : ExtManagementSystem.find(@edit[:new][:manager_id])
16591659
end
16601660

1661-
def add_ansible_tower_job_template_vars(st)
1661+
def add_configuration_script_vars(st)
16621662
st.job_template = @edit[:new][:template_id].nil? ? nil : ConfigurationScript.find(@edit[:new][:template_id])
16631663
end
16641664

0 commit comments

Comments
 (0)