aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--steuermann/run.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/steuermann/run.py b/steuermann/run.py
index 9521b8a..17973dc 100644
--- a/steuermann/run.py
+++ b/steuermann/run.py
@@ -158,12 +158,14 @@ class runner(object):
args[k] = v
# we want things defined in the CONDITIONS block to be part of args
+ # (except for hostname)
for k, v in nodes.saved_conditions.items():
if v == True:
v = 'True'
if v == False:
v = 'False'
- args[k] = v
+ if not k == 'hostname':
+ args[k] = v
if debug :
print "ARGS"