Thanks, I'll keep an eye out for that update.

In the meantime, for anyone else having this problem, this is how I was 
able to work around it:

exec{'remove_temp':
                command                 => "C:\\Windows\\System32\\cmd.exe 
/c del *.TMP /f /q /a",
                cwd                     => 'C:\\Path\\To\\Files',
                refreshonly             => true,
        }

File['your_file_copy'] ~> Exec['remove_temp']

On Thursday, April 10, 2014 3:30:24 PM UTC-4, Rob Reynolds wrote:
>
> We just changed a particular function we use to copy files in 3.4.1 and 
> then fixed up a couple of things with it in 3.4.3 [1][2]. There were some 
> more fixes that went into 3.5.0 [3], but it is possible that we missed some 
> things.
>
> If you don't find this fixed with 3.5.1 when it comes out, then please 
> follow up with an issue.
>
> [1]: https://tickets.puppetlabs.com/browse/PUP-1389
> [2]: https://tickets.puppetlabs.com/browse/PUP-1368
> [3]: https://tickets.puppetlabs.com/browse/PUP-1450
>
>
> On Thu, Apr 10, 2014 at 11:29 AM, Nick Miller 
> <[email protected]<javascript:>
> > wrote:
>
>> Actually yes, it's 3.4.3
>>
>>
>> On Thursday, April 10, 2014 12:19:26 PM UTC-4, Rob Reynolds wrote:
>>
>>> What version of puppet agent? Would it happen to be 3.4.x series? 
>>>
>>>
>>> On Thu, Apr 10, 2014 at 10:44 AM, Nick Miller <[email protected]>wrote:
>>>
>>>> Hi,
>>>>
>>>> I have a manifest that pushes files to some Windows servers. 
>>>>  Everything seems to work well, except that it sometimes leaves some temp 
>>>> files behind.  If I have MyApp.exe, after a while the directory looks like 
>>>> this:
>>>>
>>>> MyApp.exe
>>>> MyApp.exe~RF27dk3hdk.TMP
>>>> MyApp.exe~RF27en2n3h.TMP
>>>> MyApp.exe~RF27n3hs93.TMP
>>>>
>>>> I have several File[] types pushing to this directory, so I don't think 
>>>> Purge => true is an option.
>>>>
>>>> Does anyone know why these are piling up?
>>>>
>>>> Thanks,
>>>> Nick
>>>>
>>>> -- 
>>>> 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/a816e58b-19d1-48d1-9ef4-8aa1256fc62c%
>>>> 40googlegroups.com<https://groups.google.com/d/msgid/puppet-users/a816e58b-19d1-48d1-9ef4-8aa1256fc62c%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> -- 
>>> Rob Reynolds
>>> Developer, Puppet Labs
>>>
>>> *Join us at **PuppetConf 2014**, September 23-24 in San Francisco 
>>> - http://puppetconf.com <http://puppetconf.com/>* 
>>>  
>>  -- 
>> 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/puppet-users/d53a93a6-2074-4275-bd78-154c0bcedfbc%40googlegroups.com<https://groups.google.com/d/msgid/puppet-users/d53a93a6-2074-4275-bd78-154c0bcedfbc%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Rob Reynolds
> Developer, Puppet Labs
>
> *Join us at **PuppetConf 2014**, September 23-24 in San Francisco 
> - http://puppetconf.com <http://puppetconf.com/>* 
>  

-- 
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/626939be-1c56-473a-85a3-24b69f2d821d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to