Cluster Project branch, master, updated. cluster-2.99.05-56-ge88a7d8
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 e88a7d8044de44be39369f99d65bdb818e478c97 (commit)
from 6fb8dc9d73db3a5e48589ee274f1c34ee4bc76c5 (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 e88a7d8044de44be39369f99d65bdb818e478c97
Author: Christine Caulfield <[email protected]> Date: Wed Jul 9 15:18:09 2008 +0100
[CONFIG] Add ldap loader
Add a new tool to load an existing cluster config into LDAP. This is as incomplete as the schema at the moment, but it will allow you to add nodes and some very basic fencing devices.
It uses libconfdb so it can migrate either a running system or a cluster.conf file.
-----------------------------------------------------------------------
Summary of changes:
config/plugins/ldap/99cluster.ldif | 2 +-
config/tools/{ccs_test => ldap}/Makefile | 8 +-
config/tools/ldap/loadldap.c | 206 ++++++++++++++++++++++++++++++
3 files changed, 211 insertions(+), 5 deletions(-)
copy config/tools/{ccs_test => ldap}/Makefile (81%)
create mode 100644 config/tools/ldap/loadldap.cconfig/plugins/ldap/99cluster.ldif +1 -1
@@ -129,7 +129,7 @@ objectClasses: ( 1.3.6.1.4.1.2312.8.1.2.6 NAME 'rhcsFenceagent' SUP top STRUCTURAL DESC 'A Fence device' MUST ( name ) - MAY ( rhcsPort ) + MAY ( rhcsPort $ rhcsIpaddr ) ) objectClasses: ( 1.3.6.1.4.1.2312.8.1.2.7 NAME 'rhcsFencemethod' SUP top STRUCTURAL
config/tools/ldap/Makefile renamed from config/tools/ccs_test/Makefile +4 -4
@@ -1,4 +1,4 @@ -TARGET= ccs_test +TARGET= loadldap SBINDIRT=$(TARGET)
@@ -10,13 +10,13 @@ include $(OBJDIR)/make/clean.mk include $(OBJDIR)/make/install.mk include $(OBJDIR)/make/uninstall.mk -OBJS= ccs_test.o +OBJS= loadldap.o CFLAGS += -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -CFLAGS += -I${ccsincdir} +CFLAGS += -I${openaisincdir} CFLAGS += -I${incdir} -LDFLAGS += -L${ccslibdir} -lccs +LDFLAGS += -L${openaislibdir} -lconfdb ${TARGET}: ${OBJS}
config/tools/ldap/loadldap.c new file +206 -0
206 lines not on this page · raw message
hooks/post-receive
--
Cluster Project