74b1de
From 16d298584c70138fd639281bc900838d7938aec9 Mon Sep 17 00:00:00 2001
d1681e
From: Jiffin Tony Thottan <jthottan@redhat.com>
d1681e
Date: Wed, 22 Feb 2017 14:37:04 +0530
74b1de
Subject: [PATCH 057/124] ganesha/scripts : Remove export entries from
d1681e
 ganesha.conf during cleanup
d1681e
74b1de
Label: DOWNSTREAM ONLY
74b1de
d1681e
Change-Id: I288f7c9ced23d258a7ce1242d8efe03a4bf6f746
d1681e
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
d1681e
Reviewed-on: https://review.gluster.org/16708
d1681e
Smoke: Gluster Build System <jenkins@build.gluster.org>
d1681e
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
d1681e
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
d1681e
Reviewed-by: soumya k <skoduri@redhat.com>
d1681e
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
74b1de
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
74b1de
Reviewed-on: https://code.engineering.redhat.com/gerrit/167142
74b1de
Reviewed-by: Soumya Koduri <skoduri@redhat.com>
74b1de
Tested-by: RHGS Build Bot <nigelb@redhat.com>
74b1de
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
d1681e
---
d1681e
 extras/ganesha/scripts/ganesha-ha.sh | 1 +
d1681e
 1 file changed, 1 insertion(+)
d1681e
d1681e
diff --git a/extras/ganesha/scripts/ganesha-ha.sh b/extras/ganesha/scripts/ganesha-ha.sh
74b1de
index 4b93f95..7ba80b5 100644
d1681e
--- a/extras/ganesha/scripts/ganesha-ha.sh
d1681e
+++ b/extras/ganesha/scripts/ganesha-ha.sh
d1681e
@@ -342,6 +342,7 @@ cleanup_ganesha_config ()
d1681e
     rm -f /etc/corosync/corosync.conf
d1681e
     rm -rf /etc/cluster/cluster.conf*
d1681e
     rm -rf /var/lib/pacemaker/cib/*
d1681e
+    sed -r -i -e '/^%include[[:space:]]+".+\.conf"$/d'  $HA_CONFDIR/ganesha.conf
d1681e
 }
d1681e
 
d1681e
 do_create_virt_ip_constraints()
d1681e
-- 
d1681e
1.8.3.1
d1681e