[Puppet Users] Can't switch checksum method?

2011-07-11 Thread Haitao Jiang
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

Re: [Puppet Users] Can't switch checksum method?

2011-07-11 Thread Patrick
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:

Re: [Puppet Users] Can't switch checksum method?

2011-07-11 Thread Haitao Jiang
Patrick Thanks. Related information: Puppet 2.6.8 for both master and client, Webrick. file { /opt/jetty-distribution-7.4.2.v20110526.tar.gz: ensure = present, checksum = md5, source = puppet:///emb/jetty-distribution-7.4.2.v20110526.tar.gz, notify = Exec [tar

Re: [Puppet Users] Can't switch checksum method?

2011-07-11 Thread Haitao Jiang
I upgraded Puppet (master/client) to 2.7.1, the issue still there: Jul 11 21:59:50 vm1 puppet-agent[11641]: (/Stage[main]/Emb/File[/opt/jetty/contexts/emb-context.xml]/ensure) change from absent to file failed: Could not rename temporary file /opt/jetty/contexts/emb-context.xml.puppettmp_5668 to

Re: [Puppet Users] Can't switch checksum method?

2011-07-11 Thread Patrick
It talks about mtime in the log, but has md5lite in the manifest. Is that a typo? On Jul 11, 2011, at 10:03 PM, Haitao Jiang wrote: I upgraded Puppet (master/client) to 2.7.1, the issue still there: Jul 11 21:59:50 vm1 puppet-agent[11641]:

Re: [Puppet Users] Can't switch checksum method?

2011-07-11 Thread Haitao Jiang
I tried both md5lite and mtime, no difference, same issue: File written to disk did not match checksum; discard canges What I can do to fix or debug this? Thanks Haitao On Mon, Jul 11, 2011 at 10:07 PM, Patrick kc7...@gmail.com wrote: It talks about mtime in the log, but has md5lite in