summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorJiffin Tony Thottan <jthottan@redhat.com>2016-06-23 17:41:09 +0530
committerKaleb KEITHLEY <kkeithle@redhat.com>2016-06-23 17:48:38 -0700
commitec3ea75513347deb95960f49d58fc19478a7ad17 (patch)
treee195b8898716175f61254fc8b55c9ff457213e65 /extras
parent1fdc0db572ce80d6f3a9e71d40ef272c2eb3e7e7 (diff)
ganesha/scripts : delete nfs-ganesha folder from shared storage during clean up
A directory named "nfs-ganesha" will be created inside shared storage when 'gluster nfs-ganesha enable' is executed. Similarly this directory should be removed when 'gluster nfs-ganesha disable' is executed. Change-Id: Icc09b32010de07c9809e22aafbb2fd08a5c8252f BUG: 1349398 Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com> Reviewed-on: http://review.gluster.org/14782 Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Niels de Vos <ndevos@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'extras')
-rw-r--r--extras/ganesha/scripts/ganesha-ha.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/ganesha/scripts/ganesha-ha.sh b/extras/ganesha/scripts/ganesha-ha.sh
index f43dbf4b296..8b55abbc6c5 100644
--- a/extras/ganesha/scripts/ganesha-ha.sh
+++ b/extras/ganesha/scripts/ganesha-ha.sh
@@ -421,6 +421,7 @@ cleanup_ganesha_config ()
rm -rf /etc/cluster/cluster.conf*
rm -rf /var/lib/pacemaker/cib/*
sed -r -i -e '/^%include[[:space:]]+".+\.conf"$/d' ${GANESHA_CONF}
+ rm -rf ${HA_VOL_MNT}/nfs-ganesha
}
do_create_virt_ip_constraints()