summaryrefslogtreecommitdiffstats
path: root/boot/policy_vm_init.sh
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2018-05-15 16:50:27 -0500
committerJorge Hernandez <jh1730@att.com>2018-05-15 16:52:55 -0500
commitc35b78cdac14f5a9cc0153e1345e653bddffc01c (patch)
treeeb727883a4e8269861a65120a05589f5909e7348 /boot/policy_vm_init.sh
parent3c9dec833a192e0f8d90125ab7d007eec3c69113 (diff)
rm policy install dependency on artifact_versionv1.2.0
Change-Id: I529d4cbafae863b503d28e31e7d4858c7349214f Issue-ID: POLICY-797 Signed-off-by: Jorge Hernandez <jh1730@att.com>
Diffstat (limited to 'boot/policy_vm_init.sh')
-rw-r--r--boot/policy_vm_init.sh15
1 files changed, 8 insertions, 7 deletions
diff --git a/boot/policy_vm_init.sh b/boot/policy_vm_init.sh
index 099ef8f5..12818402 100644
--- a/boot/policy_vm_init.sh
+++ b/boot/policy_vm_init.sh
@@ -38,18 +38,19 @@ export DOCKER_REPOSITORY=${NEXUS_DOCKER_REPO}
cd /opt/policy
git pull
-# download controlloop application
-
-export ARTIFACT_VERSION=$(cat /opt/config/artifacts_version.txt)
-
-chmod +x /opt/policy/config/drools/apps-install.sh
-/opt/policy/config/drools/apps-install.sh controlloop ${ARTIFACT_VERSION} /opt/policy/config/drools
+chmod +x config/pe/brmsgw-tweaks.sh
+chmod +x config/pe/pap-tweaks.sh
+chmod +x config/pe/pdp-tweaks.sh
+chmod +x config/pe/push-policies.sh
+chmod +x config/drools/apps-install.sh
+chmod +x config/drools/drools-preinstall.sh
+chmod +x config/drools/drools-tweaks.sh
+chmod +x config/db/db.sh
# ensure brmsgw dependency configuration is set up correctly
sed -i -e "s/^BRMS_DEPENDENCY_VERSION=.*$/BRMS_DEPENDENCY_VERSION=${ARTIFACT_VERSION}/g" /opt/policy/config/pe/brmsgw.conf
-chmod +x config/drools/drools-tweaks.sh
if [ -e /opt/config/public_ip.txt ]
then