Puppet: System Administration Automated

Support

Ticket #457 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

PATCH: pkgdmg provider performance

Reported by: Jeff McCune <mccune@math.ohio-state.edu> Assigned to: luke
Priority: normal Milestone:
Component: package Version: 0.22.0
Severity: normal Keywords: package provider apple speed performance
Cc: Triage Stage:
Attached Patches: Complexity:

Description

This patch dramatically increases the download speed of the pkgdmg provider when using source URI's supported by curl.

If the package resides on a remote HTTP server, the download speed will be dramatically faster with this patch.

curl is initially employed to download the remote file, with a fall back to the old behavior of open-uri in the event of a failure.

open-uri is horribly slow trasfering via HTTP, hence the need for this patch.

Other modifications were made to sprinkle rubyisms into the error handling of the installation process.

Attachments

puppet_pkgdmg_curl.patch (4.3 kB) - added by puppet on 01/25/07 18:01:48.
adds curl support to pkgdmg provider for a dramatic performance increase

Change History

01/25/07 18:01:48 changed by puppet

  • attachment puppet_pkgdmg_curl.patch added.

adds curl support to pkgdmg provider for a dramatic performance increase

01/25/07 18:03:41 changed by puppet

  • summary changed from pkgdmg provider performance patch to PATCH: pkgdmg provider performance.
  • reporter changed from puppet to Jeff McCune <mccune@math.ohio-state.edu>.

01/25/07 22:53:46 changed by luke

  • status changed from new to closed.
  • resolution set to fixed.

Applied in [2087].