On Jun 16, 10:51 am, Guy Matz <gm...@matz.org> wrote:
> hi,
> i get the following error when trying to use a template with XML in it:
> Could not parse for environment production: Syntax error at '<'
>
> So I tried using the HTML & "codes" for special chars but now get:
> "Could not parse for environment production: Could not match &lt;?xml"
>
> anyone know if I need to specially handle XML templates?


Generally, no, you shouldn't need any special handling for templates
of XML files.  If you provide an example template with which the error
can be reproduced then we would have a better chance of helping you
more specifically.

Using XML character entities in your template is the wrong way to go,
however.  It might make ERB happier, but the resulting file wouldn't
mean the same thing to an XML processor.


John

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