common-ha: handle long node names and node names with '-' and '.' in them
authorKaleb S. KEITHLEY <kkeithle@redhat.com>
Mon, 1 Jun 2015 18:02:58 +0000 (14:02 -0400)
committerNiels de Vos <ndevos@redhat.com>
Thu, 11 Jun 2015 20:12:11 +0000 (13:12 -0700)
commit04791e4d53650eb108890e9ad9a809768a06987b
treea7ce3371ea797612a2f509c63d901f20a643aef4
parent9eef639e19c01712aaadfffda22aef795bf1dfeb
common-ha: handle long node names and node names with '-' and '.' in them

sourcing the /etc/ganesha/ganesha-ha.conf file seemed like a simple
and elegant solution for reading config params, but bash variable names
do not allow '-' and '.' in them.

Also fix incorrect path in shared volume mount

Change-Id: I40140e5da0903221efd316de94dce40229263e15
BUG: 1225572
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Reviewed-on: http://review.gluster.org/11035
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
extras/ganesha/config/ganesha-ha.conf.sample
extras/ganesha/ocf/ganesha_nfsd