Fix spacing issues in YAML files in heat
[demo.git] / heat / vCPE_build / vbrgemu / build_vcpe_vbrgemu.yaml
index d49b07f..028459d 100644 (file)
@@ -108,7 +108,7 @@ parameters:
     label: Compile State
     description: State to compile code or not; included for backwards compatibility
     default: "done"
-    
+
 #############
 #           #
 # RESOURCES #
@@ -148,15 +148,15 @@ resources:
       user_data:
         str_replace:
           params:
-            __demo_artifacts_version__ : { get_param: demo_artifacts_version }
-            __script_version__ : { get_param: script_version }
-            __cloud_env__ : { get_param: cloud_env }
-            __vpp_source_repo_url__ : { get_param: vpp_source_repo_url }
-            __vpp_source_repo_release_tag__ : { get_param: vpp_source_repo_release_tag }
-            __hc2vpp_source_repo_url__ : { get_param: hc2vpp_source_repo_url }
-            __hc2vpp_source_repo_release_tag__ : { get_param: hc2vpp_source_repo_release_tag }
-            __vpp_patch_url__ : { get_param: vpp_patch_url }
-            __compile_state__ : { get_param: compile_state }
+            __demo_artifacts_version__: { get_param: demo_artifacts_version }
+            __script_version__: { get_param: script_version }
+            __cloud_env__: { get_param: cloud_env }
+            __vpp_source_repo_url__: { get_param: vpp_source_repo_url }
+            __vpp_source_repo_release_tag__: { get_param: vpp_source_repo_release_tag }
+            __hc2vpp_source_repo_url__: { get_param: hc2vpp_source_repo_url }
+            __hc2vpp_source_repo_release_tag__: { get_param: hc2vpp_source_repo_release_tag }
+            __vpp_patch_url__: { get_param: vpp_patch_url }
+            __compile_state__: { get_param: compile_state }
             __nexus_artifact_repo__: { get_param: nexus_artifact_repo }
           template: |
             #!/bin/bash
@@ -175,6 +175,7 @@ resources:
             echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
 
             # Download and run install script
+            apt-get update
             apt-get -y install unzip
             if [[ "__script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
             curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vcpe&a=vcpe-scripts&e=zip&v=__script_version__" -o /opt/vcpe-scripts-__script_version__.zip