From 0775b84c403d1dc3192a1739537df4436dda8cac Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Fri, 7 Sep 2012 14:02:43 +0200 Subject: [PATCH] bugfix: make __object_name available in type explorers Signed-off-by: Steven Armstrong --- lib/cdist/core/explorer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/cdist/core/explorer.py b/lib/cdist/core/explorer.py index d49b7ac4..da84cfaa 100644 --- a/lib/cdist/core/explorer.py +++ b/lib/cdist/core/explorer.py @@ -135,6 +135,7 @@ class Explorer(object): env.update({ '__object': os.path.join(self.remote.object_path, cdist_object.path), '__object_id': cdist_object.object_id, + '__object_name': cdist_object.name, '__object_fq': cdist_object.path, '__type_explorer': os.path.join(self.remote.type_path, cdist_type.explorer_path) })