From 12426ae1b629bd413eb3efd70b9c0b0132b855de Mon Sep 17 00:00:00 2001 From: Guido Trotter <ultrotter@google.com> Date: Sat, 8 Aug 2009 14:20:28 +0100 Subject: [PATCH] Add empty ganeti.confd module It will be used for the confd server code, and for a basic client library. Signed-off-by: Guido Trotter <ultrotter@google.com> Reviewed-by: Iustin Pop <iustin@google.com> --- Makefile.am | 6 +++++- lib/confd/__init__.py | 25 +++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 lib/confd/__init__.py diff --git a/Makefile.am b/Makefile.am index e1dac222c..71a64e339 100644 --- a/Makefile.am +++ b/Makefile.am @@ -15,6 +15,7 @@ REPLACE_VARS_SED = autotools/replace_vars.sed hypervisordir = $(pkgpythondir)/hypervisor httpdir = $(pkgpythondir)/http +confddir = $(pkgpythondir)/confd rapidir = $(pkgpythondir)/rapi toolsdir = $(pkglibdir)/tools docdir = $(datadir)/doc/$(PACKAGE) @@ -29,6 +30,7 @@ DIRS = \ lib/http \ lib/hypervisor \ lib/rapi \ + lib/confd \ man \ qa \ scripts \ @@ -110,6 +112,8 @@ http_PYTHON = \ lib/http/client.py \ lib/http/server.py +confd_PYTHON = \ + lib/confd/__init__.py docrst = \ doc/admin.rst \ @@ -342,7 +346,7 @@ $(REPLACE_VARS_SED): Makefile stamp-directories srclinks: stamp-directories set -e; \ for i in man/footer.sgml $(pkgpython_PYTHON) $(hypervisor_PYTHON) \ - $(rapi_PYTHON) $(http_PYTHON); do \ + $(rapi_PYTHON) $(http_PYTHON) $(confd_PYTHON); do \ if test ! -f $$i -a -f $(abs_top_srcdir)/$$i; then \ $(LN_S) $(abs_top_srcdir)/$$i $$i; \ fi; \ diff --git a/lib/confd/__init__.py b/lib/confd/__init__.py new file mode 100644 index 000000000..ecf3f2481 --- /dev/null +++ b/lib/confd/__init__.py @@ -0,0 +1,25 @@ +# +# + +# Copyright (C) 2009 Google Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301, USA. + + +"""Ganeti confd library + +""" + -- GitLab