Commit 12426ae1 authored by Guido Trotter's avatar Guido Trotter

Add empty ganeti.confd module

It will be used for the confd server code, and for a basic client
library.
Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 18679072
...@@ -15,6 +15,7 @@ REPLACE_VARS_SED = autotools/replace_vars.sed ...@@ -15,6 +15,7 @@ REPLACE_VARS_SED = autotools/replace_vars.sed
hypervisordir = $(pkgpythondir)/hypervisor hypervisordir = $(pkgpythondir)/hypervisor
httpdir = $(pkgpythondir)/http httpdir = $(pkgpythondir)/http
confddir = $(pkgpythondir)/confd
rapidir = $(pkgpythondir)/rapi rapidir = $(pkgpythondir)/rapi
toolsdir = $(pkglibdir)/tools toolsdir = $(pkglibdir)/tools
docdir = $(datadir)/doc/$(PACKAGE) docdir = $(datadir)/doc/$(PACKAGE)
...@@ -29,6 +30,7 @@ DIRS = \ ...@@ -29,6 +30,7 @@ DIRS = \
lib/http \ lib/http \
lib/hypervisor \ lib/hypervisor \
lib/rapi \ lib/rapi \
lib/confd \
man \ man \
qa \ qa \
scripts \ scripts \
...@@ -110,6 +112,8 @@ http_PYTHON = \ ...@@ -110,6 +112,8 @@ http_PYTHON = \
lib/http/client.py \ lib/http/client.py \
lib/http/server.py lib/http/server.py
confd_PYTHON = \
lib/confd/__init__.py
docrst = \ docrst = \
doc/admin.rst \ doc/admin.rst \
...@@ -342,7 +346,7 @@ $(REPLACE_VARS_SED): Makefile stamp-directories ...@@ -342,7 +346,7 @@ $(REPLACE_VARS_SED): Makefile stamp-directories
srclinks: stamp-directories srclinks: stamp-directories
set -e; \ set -e; \
for i in man/footer.sgml $(pkgpython_PYTHON) $(hypervisor_PYTHON) \ 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 \ if test ! -f $$i -a -f $(abs_top_srcdir)/$$i; then \
$(LN_S) $(abs_top_srcdir)/$$i $$i; \ $(LN_S) $(abs_top_srcdir)/$$i $$i; \
fi; \ fi; \
......
#
#
# 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
"""
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment