Possible variables to use with templates

2 views
Skip to first unread message

Smain Kahlouch

unread,
Mar 11, 2010, 1:44:16 PM3/11/10
to puppet...@googlegroups.com
Hi everyone,

I guess the question has been asked a million times.
I'm a beginner in puppet and i would like to know where i can find a
list of possible variables to use the templates.

Thanks for your help,
Grifith

Al @ Lab42

unread,
Mar 11, 2010, 3:24:50 PM3/11/10
to Puppet Users
You can have variables provided by facter (run the command facter on
an host to see its variables) and define your custom variables, with
extreme care to how they are scoped in puppet.
http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#variable-scope

This article well explains Puppet and variables scoping:
http://about.digg.com/blog/master-puppets-2-speaking-language

Read also here
http://reductivelabs.com/trac/puppet/wiki/PuppetTemplating

Al

Reply all
Reply to author
Forward
0 new messages