telmich/cdist — pull request #169 by arkaitzj (2013-03-31 22:55:41+00:00)
Title: Make global explorers available to initial manifest

As they are ran before the initial manifest? Is there any reason why they should not be available?
It works great for using hostnames for example to pattern match and choose what config to apply, $__target_host might not always be the actual hostname.

Also, I included a fix to the hostname global explorer, "command -v hostname" was printing to stdout and breaking the result, also used "-f" to get the fqdn for the host.