On Tue, Jul 6, 2010 at 12:52 AM, Tim <[email protected]> wrote: > > I realise that one solution here is to just not check the syntax of > the template with erb (as it works absolutely fine with a single %).. > However, it feels a little bit broken or (quite possibly) I'm missing > something obvious so would be good to get some feedback.
Tim, The -P erb switch should disable this behavior and cause erb to behave more closely to puppet with lines begenning with % in templates. $ erb --help erb [switches] [inputfile] ... -P ignore lines which start with "%" Hope this helps, -- Jeff McCune http://www.puppetlabs.com/ -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
