From f28b7d13ce9dc83dc336ba1fb300470fa30bb4fb Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 12 Oct 2012 17:24:14 +0200 Subject: some bug fixes (first working version of config) --- templates/example/http-stream.xml | 10 ++++++---- templates/example/planet.xml | 2 +- templates/example/worker.xml | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) (limited to 'templates') diff --git a/templates/example/http-stream.xml b/templates/example/http-stream.xml index 8027b9f..561097a 100644 --- a/templates/example/http-stream.xml +++ b/templates/example/http-stream.xml @@ -7,10 +7,12 @@ {{ component.feeder }} - - {{ component.rrd_clients }} - {{ component.rrd_bytes }} - + + + {{ component.rrd_clients }} + {{ component.rrd_bytes }} + + %% for name, value in component.properties.items() %% if name != 'samplerate' {{ value }} diff --git a/templates/example/planet.xml b/templates/example/planet.xml index 6c6b4bb..454b1bb 100644 --- a/templates/example/planet.xml +++ b/templates/example/planet.xml @@ -4,7 +4,7 @@ %% for name, value in globals.manager.items() %% if name != 'machine' - {{ value }} + <{{ name }}>{{ value }} %% endif %% endfor diff --git a/templates/example/worker.xml b/templates/example/worker.xml index cd9ee5c..b6f4667 100644 --- a/templates/example/worker.xml +++ b/templates/example/worker.xml @@ -14,7 +14,7 @@ {{ portrange }} -%% if debug != '' +%% if debug and debug != '' {{ debug }} %% endif -- cgit v1.2.3