public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: master - cman-preconfig: don't hardcode /etc
@ 2009-05-20 10:09 Fabio M. Di Nitto
  0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2009-05-20 10:09 UTC (permalink / raw)
  To: cluster-cvs-relay

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-20 10:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-20 10:09 cluster: master - cman-preconfig: don't hardcode /etc Fabio M. Di Nitto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).