Issue #2615 has been updated by Markus Roberts.

Status changed from Accepted to Ready for Testing
Branch set to http://github.com/MarkusQ/puppet/tree/feature/master/bundled_json

With the bundled json patch 
(http://github.com/MarkusQ/puppet/tree/feature/master/bundled_json)

* When using yaml this should revert to the exceedingly rare / never seen in 
practice level of 0.24.8;
* When using pson it should not happen at all.

----------------------------------------
Bug #2615: YAML sometimes modifies the contents of string data
http://projects.reductivelabs.com/issues/2615

Author: R.I. Pienaar aka Volcane
Status: Ready for Testing
Priority: High
Assigned to: Markus Roberts
Category: serialization
Target version: 0.25.1
Affected version: 0.25.0
Keywords: yaml json
Branch: http://github.com/MarkusQ/puppet/tree/feature/master/bundled_json


While upgrading from 0.24 to 0.25 I get the following small issue, it only 
happens with one of my file resources which is rather odd since I have many 
that looks pretty much identical to this.

<pre>
        file{"/usr/local/bin/machdb-send":
                owner   => root,
                group   => root,
                mode    => 750,
                content => template("machdb/machdb-send.erb");
        }
</pre>

<pre>
09:15:17 xen7> puppetd[19516]: 
(//machdb::client/File[/usr/local/bin/machdb-send]/content) content changed 
'{md5}0c606f2e7be81a862a44ae40e469a393' to 'unknown checksum'
</pre>

The content that gets created is fine, the file isnt corrupt or anything and on 
the 2nd run of 0.25 nothing weird happens.

If I modify /usr/local/bin/machdb-send and run puppetd --test again it fixes 
the file to the expected content but again with the 'unknown checksum' log 
message.

All the template in question has are lines like:

<pre>
my $user        = '<%= machdb_user %>';
</pre>

not even any loops or weird ruby bits.


-- 
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://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to