Issue #2615 has been updated by Matthias Saou.

I'm seeing some of those too after updating from 0.24.6 to 0.25.1rc1 :
<pre>
File[/etc/php.ini]/content (notice): content changed 
'{md5}79a1ebf60a19366a46903ced44f589ea' to 'unknown checksum'
</pre>
When doing a diff with the previous file, I see only one difference : My 
original php.ini.erb template has one line which looked empty but actually had 
two spaces. Once installed by puppet 0.24, the php.ini file didn't have those 
two spaces, it was a real empty line, but now with 0.25.1, the two spaces are 
there :
<pre>
# diff -u 
/var/lib/puppet/clientbucket/7/9/a/1/e/b/f/6/79a1ebf60a19366a46903ced44f589ea/contents
 /etc/php.ini
--- 
/var/lib/puppet/clientbucket/7/9/a/1/e/b/f/6/79a1ebf60a19366a46903ced44f589ea/contents
      2009-10-06 16:35:10.000000000 +0200
+++ /etc/php.ini        2009-10-06 16:35:10.000000000 +0200
@@ -617,7 +617,7 @@
 ; needs to go here.  Specify the location of the extension with the
 ; extension_dir directive above.
 
-
+  
 ;;;;
 ; Note: packaged extension modules are now loaded via the .ini files
 ; found in the directory /etc/php.d; these are loaded by default.
</pre>
So it seems like 0.25.1 is actually fixing something here...
----------------------------------------
Bug #2615: Templates produce incorrect content
http://projects.reductivelabs.com/issues/2615

Author: R.I. Pienaar aka Volcane
Status: Accepted
Priority: High
Assigned to: Markus Roberts
Category: serialization
Target version: 0.25.1
Affected version: 0.25.0
Keywords: 
Branch: 


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