-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Luke Kanies wrote:
> 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.
> 

Added to:

http://reductivelabs.com/trac/puppet/wiki/FrequentlyAskedQuestions#are-there-variables-available-other-than-those-provided-by-facter

Regards

James Turnbull

- --
Author of:
* Pro Linux Systems Administration (http://tinyurl.com/linuxadmin)
* Pulling Strings with Puppet (http://tinyurl.com/pupbook)
* Pro Nagios 2.0 (http://tinyurl.com/pronagios)
* Hardening Linux (http://tinyurl.com/hardeninglinux)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEVAwUBSt7gwCFa/lDkFHAyAQJdkwgA3XMhs6lTzbZx5tG+wC9kBQqqNzQbfYdC
HADbRAkOMz5IObIXtJ6tY85bwB1JhabkA9XfHpvDtZT1ByoPimAoKrc6BqzQhhHc
qdF0bOEgordE/NwB5+6C6vOoptiuHFh6Kxs3lzzTiQaFg+KjVk359E5BTxgGAwCT
NVotYOruUH7lJ5BK1gdSU+0IxnSqDm9KcgwkTNNv/I8Amss54C1mhAfYVbUXXQsq
9TBdrXlmIrDrL9F0358wElhAKTi8vb1HvwpR4o3DeYyA8QRT9B3778ZfgpvQnnxx
3V7dBISCHIfmMKYa52OcMIXrXKA+W54vlDj/sHCVBBKEJ0G0256HVA==
=kaBd
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
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