Merge pull request #169 from arkaitzj/global_explorers

Make global explorers available to initial manifest
This commit is contained in:
Nico Schottelius 2013-04-09 06:11:07 -07:00
commit 002537f5d1
3 changed files with 4 additions and 3 deletions

View file

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

View file

@ -106,6 +106,7 @@ class Manifest(object):
env.update(self.env)
env['__cdist_manifest'] = initial_manifest
env['__manifest'] = self.local.manifest_path
env['__explorer'] = self.local.global_explorer_out_path
return env

View file

@ -179,7 +179,7 @@ ENVIRONMENT VARIABLES
---------------------
__explorer::
Directory that contains all global explorers.
Available for: explorer, type explorer
Available for: initial manifest, explorer, type explorer
__manifest::
Directory that contains the initial manifest.
Available for: initial manifest, type manifest