Make global explorers available to initial manifest and fix hostname explorer

This commit is contained in:
Arkaitz Jimenez 2013-04-01 00:47:57 +02:00
parent 459ea4cfd9
commit 4a89e64115
2 changed files with 3 additions and 2 deletions

View File

@ -20,6 +20,6 @@
# #
# #
if command -v hostname; then if command -v hostname >/dev/null; then
hostname hostname -f
fi fi

View File

@ -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