Issue #8855 has been reported by Ossi Herrala.
----------------------------------------
Bug #8855: Follow HTTP redirects in appdmg and pkgdmg package providers
https://projects.puppetlabs.com/issues/8855
Author: Ossi Herrala
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Affected Puppet version:
Keywords:
Branch:
Make curl follow HTTP redirects.
Add option "-L" for curl. From curl man page: "If the server reports that the
requested page has moved to a different location (indicated with a Location:
header and a 3XX response code), this option will make curl redo the request on
the new place."
This is needed for certain software downloads which themselves provide
redirecting to mirrors.
See attached patch for appdmg.rb and pkgdmg.rb.
Example manifest to test the change with:
class skim {
package { 'Skim':
ensure => installed,
provider => appdmg,
source => "http://downloads.sourceforge.net/skim-app/Skim-1.3.16.dmg",
}
}
--
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.