]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
create a teardown script to handle the UUID 308/head
authorAlfredo Deza <adeza@redhat.com>
Mon, 25 Jan 2016 20:47:18 +0000 (15:47 -0500)
committerAlfredo Deza <adeza@redhat.com>
Mon, 25 Jan 2016 20:50:46 +0000 (15:50 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-ansible-pull-requests/build/teardown [new file with mode: 0644]

diff --git a/ceph-ansible-pull-requests/build/teardown b/ceph-ansible-pull-requests/build/teardown
new file mode 100644 (file)
index 0000000..1b52a11
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+NODE=$(echo $NODE_NAME | awk -F'__' '{print $2}')
+curl -X POST https://mita.ceph.com/api/nodes/${NODE}/delete/