Make global explorers available to initial manifest and fix hostname explorer
This commit is contained in:
parent
459ea4cfd9
commit
4a89e64115
2 changed files with 3 additions and 2 deletions
|
@ -20,6 +20,6 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
if command -v hostname; then
|
if command -v hostname >/dev/null; then
|
||||||
hostname
|
hostname -f
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -106,6 +106,7 @@ class Manifest(object):
|
||||||
env.update(self.env)
|
env.update(self.env)
|
||||||
env['__cdist_manifest'] = initial_manifest
|
env['__cdist_manifest'] = initial_manifest
|
||||||
env['__manifest'] = self.local.manifest_path
|
env['__manifest'] = self.local.manifest_path
|
||||||
|
env['__explorer'] = self.local.global_explorer_out_path
|
||||||
|
|
||||||
return env
|
return env
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue