Fix indentation issues within YAMLs
[demo.git] / heat / vLB / dnsscaling.yaml
index 0d22f80..5b3b0fb 100644 (file)
@@ -1,7 +1,7 @@
 ##########################################################################
 #
 #==================LICENSE_START==========================================
-# 
+#
 #
 # Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
 #
@@ -153,7 +153,7 @@ resources:
       network: { get_param: vlb_private_net_id }
       fixed_ips: [{"subnet": { get_param: vlb_private_net_id }, "ip_address": { get_param: vdns_private_ip_0 }}]
       security_groups:
-       - { get_param: sec_group }
+        - { get_param: sec_group }
 
   vdns_2_private_1_port:
     type: OS::Neutron::Port
@@ -161,7 +161,7 @@ resources:
       network: { get_param: onap_private_net_id }
       fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vdns_private_ip_1 }}]
       security_groups:
-       - { get_param: sec_group }
+        - { get_param: sec_group }
 
   vdns_2:
     type: OS::Nova::Server
@@ -206,6 +206,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 [[ "__install_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.vlb&a=vlb-scripts&e=zip&v=__install_script_version__" -o /opt/vlb-scripts-__install_script_version__.zip