From 26278b1e326a4b8951e6df433b9b352985968f71 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 6 Oct 2011 16:28:21 +0200 Subject: [PATCH] expose target host from config Signed-off-by: Nico Schottelius --- lib/cdist/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/cdist/config.py b/lib/cdist/config.py index 7b59d416..c027da17 100644 --- a/lib/cdist/config.py +++ b/lib/cdist/config.py @@ -43,6 +43,8 @@ class Config: debug=False): self.target_host = target_host + os.environ['target_host'] = target_host + self.debug = debug self.exec_path = exec_path