__self should not contain .cdist

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-10-18 14:56:35 +02:00
parent 205cd7b28a
commit d427e3f585

View file

@ -92,10 +92,10 @@ class Manifest(object):
env = os.environ.copy()
env.update(self.env)
env.update({
'__self': cdist_object.path,
'__self': cdist_object.name,
'__object': cdist_object.absolute_path,
'__object_id': cdist_object.object_id,
'__object_fq': cdist_object.path,
'__object_fq': cdist_object.name,
'__type': cdist_object.type.absolute_path,
'__cdist_manifest': script,
})