I have a similar issue here, i'm sourcing files from a directory recursively: some files get copied but some throw the same error as yours. I'm on windows too.
Le vendredi 7 février 2014 18:35:32 UTC+1, Rob Reynolds a écrit : > > First question - what version of puppet? > > Second question - can you run puppet apply (or agent) with --trace --debug > --verbose and post the relevant results? We have some recent fixes related > to this. > > > On Thu, Feb 6, 2014 at 3:27 PM, jmp242 <[email protected] <javascript:>>wrote: > >> I'm really lost as to why this is failing. >> >> file{ 'openvpn.exe': >> path => 'C:/ProgramData/puppetfiles/openvpn.exe', >> source => "puppet:///modules/openvpn/openvpn.exe", >> owner => 'SYSTEM', >> group => 'Administrators', >> mode => 0770, >> provider => windows, >> ensure => present, >> } >> >> gives me this error: >> >> ReplaceFile(C:/ProgramData/puppetfiles/openvpn.exe, >> C:/ProgramData/puppetfiles/openvpn.exe20140206-5012-wvhezn): The system >> cannot find the file specified. >> >> >> change from absent to file failed: >> ReplaceFile(C:/ProgramData/puppetfiles/openvpn.exe, >> C:/ProgramData/puppetfiles/openvpn.exe20140206-5012-wvhezn): The system >> cannot find the file specified. >> >> >> I have no idea why. I'm using Puppet agent 3.4.2. A very similar resource: >> >> file { 'fusion.exe': >> path => 'C:/ProgramData/puppetfiles/fusion.exe', >> source => "puppet:///modules/fusionagent/fusion.exe", >> owner => 'SYSTEM', >> group => 'Administrators', >> mode => 0770, >> provider => windows, >> ensure => present, >> } >> >> works... >> >> >> -- >> 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/8a72f9a1-1402-4e2d-80fb-703a5133e50e%40googlegroups.com >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Rob Reynolds > Developer, Puppet Labs > > *Join us at PuppetConf 2014, September 23-24 in San Francisco - * > http://bit.ly/pupconf14 > -- 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/ca8dde5c-e592-462d-b956-29789cff8a50%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
