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