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