Cluster Project branch, master, updated. cluster-2.99.05-18-g39d39c6
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project".
The branch, master has been updated
via 39d39c61e694e7d7f0869c477392e532e8088a1d (commit)
via 6f456d1989c82da80d1d028954c2cd9db35e9ccc (commit)
via b69b0d50c941306180f00812c38414fe5bb2cfce (commit)
from e91380a6f2743ad3ddd6f1fec1cde5a1688f1b0c (commit)Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 39d39c61e694e7d7f0869c477392e532e8088a1d
Author: Fabio M. Di Nitto <[email protected]> Date: Wed Jun 25 10:25:57 2008 +0200
[CONFIG] Add cluster.conf direct loader
This pluing allows to load cluster.conf directly into the objdb for configuration.
With this plugin there is no need to have ccsd running.
To use:
make sure that all nodes have the same cluster.conf
form the cluster with:
cman_tool <usual_options> -C xmlconfig join
commit 6f456d1989c82da80d1d028954c2cd9db35e9ccc
Author: Fabio M. Di Nitto <[email protected]> Date: Wed Jun 25 10:24:48 2008 +0200
[CONFIG] Make sure to reset xml index in not in list mode
commit b69b0d50c941306180f00812c38414fe5bb2cfce
Author: Fabio M. Di Nitto <[email protected]> Date: Wed Jun 25 09:09:41 2008 +0200
[CCS] Remove duplicate header
-----------------------------------------------------------------------
Summary of changes:
ccs/daemon/misc.c | 1 -
config/Makefile | 2 +-
config/libs/libccsconfdb/libccs.c | 2 +
{bindings/perl => config/plugins}/Makefile | 2 +-
{ccs/ccsais => config/plugins/xml}/Makefile | 13 +-
config/plugins/xml/config.c | 295 +++++++++++++++++++++++++++
6 files changed, 304 insertions(+), 11 deletions(-)
copy {bindings/perl => config/plugins}/Makefile (85%)
copy {ccs/ccsais => config/plugins/xml}/Makefile (65%)
create mode 100644 config/plugins/xml/config.cccs/daemon/misc.c +0 -1
@@ -11,7 +11,6 @@#include <sys/socket.h> #include <sys/ioctl.h> #include <errno.h> -#include <libxml/parser.h> #include <errno.h> #include <libxml/parser.h> #include <libxml/tree.h>
config/Makefile +1 -1
@@ -1,4 +1,4 @@ include ../make/defines.mk include $(OBJDIR)/make/passthrough.mk -SUBDIRS=libs tools +SUBDIRS=libs plugins tools
config/libs/libccsconfdb/libccs.c +2 -0
@@ -594,6 +594,8 @@ int _ccs_get_fullxpath(int desc, const char *query, char **rtn, int list)if (list && !strcmp (query, previous_query)) xmllistindex++; +else + xmllistindex =0 ;memset (realquery,0 ,PATH_MAX +16 );snprintf (realquery,PATH_MAX +16 -1 ,"/objdbmaindoc%s" , query);
config/plugins/Makefile renamed from bindings/perl/Makefile +1 -1
@@ -1,4 +1,4 @@ include ../../make/defines.mk include $(OBJDIR)/make/passthrough.mk -SUBDIRS= +SUBDIRS=xml
config/plugins/xml/Makefile renamed from ccs/ccsais/Makefile +5 -8
@@ -1,30 +1,27 @@ -TARGET= config_ccs.lcrso +TARGET= config_xml.lcrso LCRSOT=$(TARGET) -all: depends ${TARGET} +all: ${TARGET} -include ../../make/defines.mk +include ../../../make/defines.mk include $(OBJDIR)/make/cobj.mk include $(OBJDIR)/make/clean.mk include $(OBJDIR)/make/install.mk include $(OBJDIR)/make/uninstall.mk CFLAGS += -fPIC -CFLAGS += -I$(S)/../libccscompat +CFLAGS += `xml2-config --cflags` CFLAGS += -I${cmanincdir}/../daemon CFLAGS += -I${incdir} -LDFLAGS += -L../libccscompat -lccscompat +LDFLAGS += `xml2-config --libs` OBJS= config.o ${TARGET}: ${OBJS} $(CC) -shared -Wl,-soname,$@ -o $@ $^ $(LDFLAGS) -depends: - $(MAKE) -C ../libccscompat all - clean: generalclean -include $(OBJS:.o=.d)
config/plugins/xml/config.c new file +295 -0
295 lines not on this page · raw message
hooks/post-receive
--
Cluster Project