forked from ungleich-public/cdist
set __cdist_manifest for use in type emulator
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
08ffaf61f5
commit
be21cdce17
1 changed files with 1 additions and 0 deletions
|
@ -79,6 +79,7 @@ class Manifest(object):
|
||||||
env = os.environ.copy()
|
env = os.environ.copy()
|
||||||
env.update(self.env)
|
env.update(self.env)
|
||||||
env['__manifest'] = self.local.manifest_path
|
env['__manifest'] = self.local.manifest_path
|
||||||
|
env['__cdist_manifest'] = script
|
||||||
return self.local.run_script(script, env=env)
|
return self.local.run_script(script, env=env)
|
||||||
|
|
||||||
def run_type_manifest(self, cdist_object):
|
def run_type_manifest(self, cdist_object):
|
||||||
|
|
Loading…
Reference in a new issue