Issue #22129 has been updated by Adrien Thebo. Category set to file Status changed from In Topic Branch Pending Review to Merged - Pending Release Target version set to 3.4.0
Merged into master in 4e448c8; this should be released in 3.4.0. ---------------------------------------- Bug #22129: file checksumming assumes UTF-8 on ruby-2.0 https://projects.puppetlabs.com/issues/22129#change-97366 * Author: Dustin Mitchell * Status: Merged - Pending Release * Priority: Normal * Assignee: * Category: file * Target version: 3.4.0 * Affected Puppet version: 3.2.4 * Keywords: * Branch: https://github.com/puppetlabs/puppet/pull/1831 ---------------------------------------- This is another problem blocking successful use of puppet on OS X. In our case, we're editing /etc/kcpasswd, which is a binary file. The reproduction is # echo $'\xa1' > /tmp/x # cat foo.pp file { "/tmp/y": content => file("/tmp/x"); # contains "\xa1\n" } # puppet apply foo.pp Error: Parameter content failed on File[/tmp/y]: Munging failed for value "\xA1\n" in class content: invalid byte sequence in US-ASCII at /private/var/root/foo.pp:3 although within my manifests, where the value comes from extlookup, I get Error: Failed to apply catalog: Parameter content failed on File[/etc/kcpassword]: Munging failed for value "..elided.." in class content: invalid byte sequence in UTF-8 at /etc/puppet/environments/dmitchell/env/modules/users/manifests/builder/autologin.pp:16 (note the difference in encoding). -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
