When writing an ERB template, I know that I can define variables in my nodes and classes, and that the facter variables for the node are available.

I'd like to know if there are any other predefined puppet variables available. In specific, I'd like the node's name in the node definition.

node "foobar" {
    include this
    include that
}

I'd like to get "foobar". In my case, this is probably NOT the facter variable fqdn or hostname.

I can't find this documented anywhere.

Assistance?

Thanks,
</edg>
Ed Greenberg

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to