as part of our setup we have erb templates that are SQL files, we parse then to add in some user details to the SQL (these come from a hiera json file created from PHP) before using that file to create the database.

If that data includes UTF-8 characters (for example an e with an acute accent) we get the error: Failed to parse template

Detail: incompatible character encodings: UTF-8 and ASCII-8BIT

This looks to be a similar issue to: https://groups.google.com/forum/#!topic/puppet-bugs/oWATlkm5nfo

Debian Wheezy, Puppet v3.2.2, Ruby 1.9.3p194

Any suggestions as to how to deal with this would be great!


You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
grouppuppet-users @
postedJul 2, '13 at 2:26p
activeJul 2, '13 at 2:26p

1 user in discussion

Rachel Andrew: 1 post



site design / logo © 2022 Grokbase