Issue #8855 has been updated by James Turnbull.

Category set to package
Status changed from Unreviewed to Requires CLA to be signed
Assignee set to Ossi Herrala

Hi Ossi

Thanks for the patch!

1, Can you please sign a CLA (see Contributer License link in the top menu). 

2. Have a read of our patch submission guidelines at 
http://projects.puppetlabs.com/projects/puppet/wiki/Development_Lifecycle. You 
don’t have to follow all the steps if you’re not Git savvy for example but we 
do need the CLA signed and it’d be great if you could send your code to the 
puppet-dev list.

Thanks again for your contribution!
----------------------------------------
Feature #8855: Follow HTTP redirects in appdmg and pkgdmg package providers
https://projects.puppetlabs.com/issues/8855

Author: Ossi Herrala
Status: Requires CLA to be signed
Priority: Normal
Assignee: Ossi Herrala
Category: package
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.

Reply via email to