Issue #17707 has been updated by Josh Cooper.

Status changed from Unreviewed to Needs More Information
Keywords set to windows

Hi Luis, it sounds like RHL is not serving the file correctly. Is the 
downloaded MSI corrupt in the same way each time, or randomly? Are you using a 
proxy?

I'd start by moving the MSI to a local disk on the RHL box, updating 
fileserver.conf, and curl it. Does it work when run on the local RHL box? Does 
it work on the windows box? By "work" I mean, does it report the correct md5sum.

Once that's working, try using puppet with just a file resource and a mapped 
drive, something like:

<pre>
$ net use v: \\server\share
$ puppet resource file c:\ReportViewer2012Beta.msi ensure=file 
source=v:\ReportViewer2012Beta.msi
file { 'c:\ReportViewer2012Beta.msi:
  ensure  => 'file',
  content => '{md5}...',
}
</pre>

Then switch to using the mounted filesystem, and then use a puppet URI as the 
source, e.g. `source=puppet:///...`
----------------------------------------
Bug #17707: Fail to download complete file resources on Puppet for Windows 3.0.0
https://projects.puppetlabs.com/issues/17707#change-76819

Author: Luis Mayorga
Status: Needs More Information
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: windows
Branch: 


Hi,

We have a windows share drive mounted on our RHL Puppet Master v.3.0.0 on the 
fileserver.conf file. We have experienced different issues with puppet trying 
to download file resources(.msi packages) and all our Package resources start 
failing since they are not full downloaded files. Could this be related to the 
mounted partition or should be just start using the shared drive path on all 
our file recipes. 

Thanks. 




-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to