blob: f934eecd7b2b64ee76ca9f993f97c434655d4d1c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
Introduction
============
flufigut, the flumotion configuration utility, is a simple tool
that generates flumotion configuration files using pyhton jinja2
template engine and simplejson. flufigut generates planet.xml
and worker.xml files from configuration templates and an easy to
understand representation of the flow structure written in json.
Dependencies
============
python-jinja2
python-simplejson
Installation/Usage
==================
Getting the source via GIT:
---------------------------
git clone git://git.spreadspace.org/flufigut.git
cd flufigut/src
Usage
-----
Edit templates to your needs, edit data.json containing your
planet structure.
# ./flufigut.py flumotion <data.json>
The script expects planet.xml and worker.xml to be present in
the directory ../templates/<name>/ and loads them as templates
for manager and worker configuration files. This <name> is extracted
from <data.json> (variable 'templates' inside 'globals' scope)
All templates referenced by the master templates must as well reside
inside ../templates/<name>/.
data structure
--------------
tba...
|