On Wednesday, 11 April 2012 17:14:10 UTC+1, Gary Larizza wrote: > > Don't use the $ for variables in Templates - Puppet variables and arrays > are accessed as local variables/arrays in templates. So try this: TEST: > <%= myhash[key][subkey1] %> >
Ah, I did try that before. I get the error: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template mymodule/test.erb: Could not find value for 'key' at /etc/puppet/modules/mymodule/manifests/config.pp:22 on node pc01.domain.com Thanks Josh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/pOIGkNnuEo4J. 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.