On Oct 20, 2009, at 8:26 AM, Johan Finnved wrote:

>
> Is there a list of builtin variables that get addad to thos from  
> facter.
>
> I have found $server and $servername and $environment in examples  
> from the puppet
> documentation but I would like a comprehensive list and a way to  
> dump all values.
>
> I know that I can add custom facts, but I prefer looking for  
> builtins to avoid reinventing the wheel.

In looking at the code (lib/puppet/indirector/catalog/compiler.rb), I  
see servername, serverip, and serverversion.  I'm pretty sure that's  
it.  Environment should be from the client, but not from Facter so I  
guess it's not obvious.

-- 
The world is round; it has no point.
     -- Adrienne E. Gusoff
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com


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

Reply via email to