aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/uninstall.sh
diff options
context:
space:
mode:
authorJack Lucas <jflucas@research.att.com>2020-06-17 17:11:17 -0400
committerJack Lucas <jflucas@research.att.com>2020-06-19 17:23:44 -0400
commit01d6019fca028906a5d4674a3a785b7851bb75e3 (patch)
treeb922fd214557a99e18482596241a8d6ab64005a0 /scripts/uninstall.sh
parent193986a2b21217165b20d954410d722d594405ed (diff)
Remove plugin uploads from bootstrap container2.0.0
Update other blueprints Update blueprints for components loaded at boot time Move Consul service registrations out of bootstrap script (use Consul init container in OOM chart instead) Issue-ID: DCAEGEN2-1789 Issue-ID: DCAEGEN2-2237 Issue-ID: DCAEGEN2-2236 Signed-off-by: Jack Lucas <jflucas@research.att.com> Change-Id: I3532d21be3c520a63ca6176dc2c085665db0add8
Diffstat (limited to 'scripts/uninstall.sh')
-rwxr-xr-xscripts/uninstall.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/uninstall.sh b/scripts/uninstall.sh
index 30dc2bf..ba198e5 100755
--- a/scripts/uninstall.sh
+++ b/scripts/uninstall.sh
@@ -28,9 +28,6 @@ then
CURLTLS="--cacert $CACERT"
fi
-# Leave the Consul cluster
-/opt/consul/bin/consul leave
-
# Uninstall components managed by Cloudify
# Get the list of deployment ids known to Cloudify via curl to Cloudify API.
# The output of the curl is JSON that looks like {"items" :[{"id": "config_binding_service"}, ...], "metadata" :{...}}
@@ -51,4 +48,3 @@ curl -Ss --user admin:$CMPASS -H "Tenant: default_tenant" ${CURLTLS} "$CMPROTO:/
curl -Ss --user admin:$CMPASS -H "Tenant: default_tenant" ${CURLTLS} "$CMPROTO://$CMADDR:$CMPORT/api/v3.1/plugins?_include=id" \
| /bin/jq .items[].id \
| xargs -I % sh -c 'cfy plugins delete %'
-