On Jul 11, 2011, at 12:09 PM, Haitao Jiang wrote:

> I have a File resource and it was default to use md5 checksum. Now, I
> want to change it to use md5lite (or mtime, same error), I got
> following error:
> 
> 
> Any suggestion on how to get rid of this error (switch the checksum method)?
> 
> info: FileBucket got a duplicate file {md5}3dc95fb231fdabbe161d8773e2a10457
> info: /Stage[main]/Emb/File[/opt/jetty-distribution-7.4.2.v20110526.tar.gz]:
> Filebucketed /opt/jetty-distribution-7.4.2.v20110526.tar.gz to puppet
> with sum 3dc95fb231fdabbe161d8773e2a10457
> err: 
> /Stage[main]/Emb/File[/opt/jetty-distribution-7.4.2.v20110526.tar.gz]/content:
> change from {md5lite}a3f7372d40abae273d2680b650ca4715 to
> {md5}3dc95fb231fdabbe161d8773e2a10457 failed: Could not rename
> temporary file /opt/jetty-distribution-7.4.2.v20110526.tar.gz.puppettmp_6384
> to /opt/jetty-distribution-7.4.2.v20110526.tar.gz: File written to
> disk did not match checksum; discarding changes
> ({md5lite}3dc95fb231fdabbe161d8773e2a10457 vs
> {md5lite}a3f7372d40abae273d2680b650ca4715) at
> /etc/puppet/modules/emb/manifests/init.pp:38 at
> /etc/puppet/modules/emb/manifests/init.pp:38

Looks like a Puppet bug to me.  What's the client version?  What's the server 
version?  Since I'm already asking that, do you know if you using Passenger, 
Mongral, or Webrick?

Finally, can you post the "File" entry from the pp file that's not working?

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