This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster: master - cman-preconfig: don't hardcode /etc
- From: "Fabio M. Di Nitto" <fabbione at fedoraproject dot org>
- To: cluster-cvs-relay at redhat dot com
- Date: Wed, 20 May 2009 10:09:07 +0000 (UTC)
- Subject: cluster: master - cman-preconfig: don't hardcode /etc
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=a4502a9c90a518fc121de2a3d62ae36a44b92468
Commit: a4502a9c90a518fc121de2a3d62ae36a44b92468
Parent: 0a2b5641f30030cc72ef6390e23aa99ce7f55d05
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate: Wed May 20 12:08:27 2009 +0200
Committer: Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Wed May 20 12:08:27 2009 +0200
cman-preconfig: don't hardcode /etc
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
cman/config/cman.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cman/config/cman.h b/cman/config/cman.h
index 40e0b69..ba0843d 100644
--- a/cman/config/cman.h
+++ b/cman/config/cman.h
@@ -5,7 +5,7 @@
#define MAX_CLUSTER_MEMBER_NAME_LEN 255
/* Defaults for configuration variables */
-#define NOCCS_KEY_FILENAME "/etc/cluster/cman_authkey"
+#define NOCCS_KEY_FILENAME DEFAULT_CONFIG_DIR "/cman_authkey"
#define DEFAULT_PORT 5405
#define DEFAULT_CLUSTER_NAME "RHCluster"
#define DEFAULT_MAX_QUEUED 128