Revision 12426ae1
b/Makefile.am | ||
---|---|---|
15 | 15 |
|
16 | 16 |
hypervisordir = $(pkgpythondir)/hypervisor |
17 | 17 |
httpdir = $(pkgpythondir)/http |
18 |
confddir = $(pkgpythondir)/confd |
|
18 | 19 |
rapidir = $(pkgpythondir)/rapi |
19 | 20 |
toolsdir = $(pkglibdir)/tools |
20 | 21 |
docdir = $(datadir)/doc/$(PACKAGE) |
... | ... | |
29 | 30 |
lib/http \ |
30 | 31 |
lib/hypervisor \ |
31 | 32 |
lib/rapi \ |
33 |
lib/confd \ |
|
32 | 34 |
man \ |
33 | 35 |
qa \ |
34 | 36 |
scripts \ |
... | ... | |
110 | 112 |
lib/http/client.py \ |
111 | 113 |
lib/http/server.py |
112 | 114 |
|
115 |
confd_PYTHON = \ |
|
116 |
lib/confd/__init__.py |
|
113 | 117 |
|
114 | 118 |
docrst = \ |
115 | 119 |
doc/admin.rst \ |
... | ... | |
342 | 346 |
srclinks: stamp-directories |
343 | 347 |
set -e; \ |
344 | 348 |
for i in man/footer.sgml $(pkgpython_PYTHON) $(hypervisor_PYTHON) \ |
345 |
$(rapi_PYTHON) $(http_PYTHON); do \ |
|
349 |
$(rapi_PYTHON) $(http_PYTHON) $(confd_PYTHON); do \
|
|
346 | 350 |
if test ! -f $$i -a -f $(abs_top_srcdir)/$$i; then \ |
347 | 351 |
$(LN_S) $(abs_top_srcdir)/$$i $$i; \ |
348 | 352 |
fi; \ |
b/lib/confd/__init__.py | ||
---|---|---|
1 |
# |
|
2 |
# |
|
3 |
|
|
4 |
# Copyright (C) 2009 Google Inc. |
|
5 |
# |
|
6 |
# This program is free software; you can redistribute it and/or modify |
|
7 |
# it under the terms of the GNU General Public License as published by |
|
8 |
# the Free Software Foundation; either version 2 of the License, or |
|
9 |
# (at your option) any later version. |
|
10 |
# |
|
11 |
# This program is distributed in the hope that it will be useful, but |
|
12 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
14 |
# General Public License for more details. |
|
15 |
# |
|
16 |
# You should have received a copy of the GNU General Public License |
|
17 |
# along with this program; if not, write to the Free Software |
|
18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
|
19 |
# 02110-1301, USA. |
|
20 |
|
|
21 |
|
|
22 |
"""Ganeti confd library |
|
23 |
|
|
24 |
""" |
|
25 |
|
Also available in: Unified diff