2009/4/1 Craig Dunn <li...@codenation.net>

>
>
>
> Hi All,
>
> I'm struggling to find any decent documentation on ERB templating -
> theres some limited summaries on puppets' site but I need something a
> bit more in depth that covers things like arrays, for loops...etc
>
> Is there anything out there that might help?
>


Hi,

ERB is part of ruby, so anything you can do with regular ruby and ERB is
doable in puppet with ERB.
You can basically do any ruby in ERB's Just look into how to use the
template tags to suppress whitespace and so on.

http://www.ruby-doc.org/stdlib/libdoc/erb/rdoc/classes/ERB.html

Regards

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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