According to http://reductivelabs.com/trac/puppet/wiki/PuppetTemplating

I can do this for template syntax checking:

erb -x -T '-' mytemplate.erb | ruby -c

Is there a way to feed ruby values for the variables inside the
template and see what the file will look like on a target machine?

Pete

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