I have filed a ticked: https://tickets.puppetlabs.com/browse/PUP-3866
Thank you,
Marc
On Wednesday, January 21, 2015 at 2:56:20 PM UTC+1, jcbollinger wrote:
>
>
>
> On Tuesday, January 20, 2015 at 1:28:33 PM UTC-6, Marc necro'd an ancient
> thread:
>>
>> Using 'replace => false' should not trigger a checksum operation but
>> given the time it takes with big files I think it does.
>> Does it make sense to perform checksum when 'replace' is set to false?
>>
>> * exec { 'wget -O - http://repo01.demo.lan/coreos/coreos_qemu.img.bz2
>> <http://repo01.demo.lan/coreos/coreos_qemu.img.bz2> | bzcat >
>> /root/coreos/core01/core01.img':*
>> * path => '/usr/bin',*
>> * creates => '/root/coreos/core01/core01.img',*
>> * }*
>>
>> * file { [ '/root/coreos/core02/core02.img',*
>> * '/root/coreos/core03/core03.img',*
>> * '/root/coreos/core04/core04.img' ]:*
>> * ensure => file,*
>> * replace => false,*
>> * source => '/root/coreos/core01/core01.img',*
>> * owner => 'root',*
>> * group => 'root',*
>> * mode => '0644',*
>> * }*
>>
>>
>
> I appreciate that you've been searching the archives for information about
> your issue. Nevertheless, when you have a new question (which yours is),
> please start a new thread.
>
> I agree that it doesn't seem useful to checksum a File configured with
> "replace => false". If you can confirm that checksums are in fact being
> computed, then you should consider filing a bug report
> <https://tickets.puppetlabs.com/secure/Dashboard.jspa>. In any case, a
> work-around and possible diagnostic test would be to set "checksum =>
> 'mtime'" on your affected File resources. A straight workaround with no
> diagnostic value would be to simply set "checksum => 'none'".
>
>
> John
>
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/90ca988b-f3b5-491a-a2ad-765f5d8524d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.