I think that Rwolf is puppet 0.26.x.

On May 4, 2010, at 12:43 AM, Bernd Adamowicz wrote:

> Ok, found the answer myself. Just installed 25.5-rc2 on client and server and 
> tried it. But same error message when parsing the template.
> 
>> 
>>>> Is there an elegant way to use complex facts in puppet's erb
>> templates?
>>> 
>>> Puppet will support hashes in the next major version (Rwolf),
>> although I am
>>> not sure if the interaction between Puppet and Facter will support
>> it.
>> 
>> Dan,
>> 
>> does this mean it will be possible to have a template like this
>> 
>>     16 <% workers.each do |worker| -%>
>>     17 worker.<%= worker %>.type=<%= worker['type'] %>
>>     18 worker.<%= worker %>.host=<%= worker['host'] %>
>>     ....
>>     24
>>     25 <% end -%>
>> 
>> which can be pouplated with an external node definition like this one:
>> 
>> ---
>> classes:
>> - vim
>> - users
>> - templates_eval::testvars
>> environment: test
>> parameters:
>>  workers:
>>    bo-01-010101:
>>          type: ajp13
>>          host: myhostname.net
>> 
>> And is this already available in the current beta release? I didn't
>> find anything in the release notes so far (concerning ERB templates,
>> though hashes are mentioned).
>> 
>> Thanks!
>> Bernd
> 
> -- 
> 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.
> 

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