forked from ungleich-public/cdist
add missing environment variable __self
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
1805c16fd4
commit
e58b52592b
1 changed files with 1 additions and 0 deletions
|
@ -92,6 +92,7 @@ class Manifest(object):
|
||||||
env = os.environ.copy()
|
env = os.environ.copy()
|
||||||
env.update(self.env)
|
env.update(self.env)
|
||||||
env.update({
|
env.update({
|
||||||
|
'__self': cdist_object.path,
|
||||||
'__object': cdist_object.absolute_path,
|
'__object': cdist_object.absolute_path,
|
||||||
'__object_id': cdist_object.object_id,
|
'__object_id': cdist_object.object_id,
|
||||||
'__object_fq': cdist_object.path,
|
'__object_fq': cdist_object.path,
|
||||||
|
|
Loading…
Reference in a new issue