From e58b52592b36120a21969690a1da9f1350224eba Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Tue, 18 Oct 2011 14:24:52 +0200 Subject: [PATCH] add missing environment variable __self Signed-off-by: Steven Armstrong --- lib/cdist/core/manifest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/cdist/core/manifest.py b/lib/cdist/core/manifest.py index 50964fdc..84092892 100644 --- a/lib/cdist/core/manifest.py +++ b/lib/cdist/core/manifest.py @@ -92,6 +92,7 @@ class Manifest(object): env = os.environ.copy() env.update(self.env) env.update({ + '__self': cdist_object.path, '__object': cdist_object.absolute_path, '__object_id': cdist_object.object_id, '__object_fq': cdist_object.path,