I've been trying to figure out how to get the node's name (knife bootstrap -N) into a template.  I've tried a dozen different ideas and haven't found anything that works yet.  Does anyone know how to access this from a Chef recipe?
Also -- is there a way to list all of the variables available to a Chef recipe?