public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: ccaulfield@sourceware.org
To: cluster-cvs@sources.redhat.com, cluster-devel@redhat.com
Subject: Cluster Project branch, master, updated. cluster-2.99.05-60-gd049388
Date: Thu, 10 Jul 2008 07:59:00 -0000	[thread overview]
Message-ID: <20080710075939.16589.qmail@sourceware.org> (raw)

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".

http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=d049388bf38cb58f7121fae8afab1be8277caad5

The branch, master has been updated
       via  d049388bf38cb58f7121fae8afab1be8277caad5 (commit)
      from  b67b729e452fa8f76fd13669c1879122cb59fdc6 (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 d049388bf38cb58f7121fae8afab1be8277caad5
Author: Christine Caulfield <ccaulfie@redhat.com>
Date:   Thu Jul 10 08:51:04 2008 +0100

    [CONFIG] rename ldap config generator
    
    Rename loadldap to confdb2ldif. This more accurately
    expresses what the program does. I've also added a comment
    to the generated ldif file.
    
    Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>

-----------------------------------------------------------------------

Summary of changes:
 config/tools/ldap/Makefile                      |    5 ++---
 config/tools/ldap/{loadldap.c => confdb2ldif.c} |    5 +++++
 2 files changed, 7 insertions(+), 3 deletions(-)
 rename config/tools/ldap/{loadldap.c => confdb2ldif.c} (96%)

diff --git a/config/tools/ldap/Makefile b/config/tools/ldap/Makefile
index dae9849..2eacf97 100644
--- a/config/tools/ldap/Makefile
+++ b/config/tools/ldap/Makefile
@@ -1,4 +1,4 @@
-TARGET= loadldap
+TARGET= confdb2ldif
 
 SBINDIRT=$(TARGET)
 
@@ -10,7 +10,7 @@ include $(OBJDIR)/make/clean.mk
 include $(OBJDIR)/make/install.mk
 include $(OBJDIR)/make/uninstall.mk
 
-OBJS=	loadldap.o
+OBJS=	confdb2ldif.o
 
 CFLAGS += -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
 CFLAGS += -I${openaisincdir}
@@ -23,7 +23,6 @@ ${TARGET}: ${OBJS}
 	$(CC) -o $@ $^ $(LDFLAGS)
 
 depends:
-	$(MAKE) -C ../../libs all
 
 clean: generalclean
 
diff --git a/config/tools/ldap/loadldap.c b/config/tools/ldap/confdb2ldif.c
similarity index 96%
rename from config/tools/ldap/loadldap.c
rename to config/tools/ldap/confdb2ldif.c
index c6c8f01..d173d00 100644
--- a/config/tools/ldap/loadldap.c
+++ b/config/tools/ldap/confdb2ldif.c
@@ -37,6 +37,7 @@ struct objectclasses
 	{ "device", "rhcsFenceagent" },
 	{ "fencedevice", "rhcsFencedevice" },
 	{ "method", "rhcsFencemethod" },
+	{ "logging", "rhcsLoggersubsys" },
 };
 /* TODO: Add more here as the schema gets filled in */
 
@@ -197,6 +198,10 @@ int main(int argc, char *argv[])
 
 	sprintf(basedn, "cn=%s,%s", clusterroot, argv[1]);
 
+	/* Print a header */
+	printf("# This file was generated by confdb2ldif, from an existing cluster configuration\n");
+	printf("#\n");
+
 	/* Print the configuration */
 	print_config_tree(handle, cluster_handle, clusterroot, basedn);
 


hooks/post-receive
--
Cluster Project


                 reply	other threads:[~2008-07-10  7:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080710075939.16589.qmail@sourceware.org \
    --to=ccaulfield@sourceware.org \
    --cc=cluster-cvs@sources.redhat.com \
    --cc=cluster-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).