Puppet: System Administration Automated

Support

Ticket #736 (closed enhancement: wontfix)

Opened 1 year ago

Last modified 1 year ago

Package providers should refresh availability when ensuring 'latest'

Reported by: thom Assigned to: luke
Priority: normal Milestone:
Component: types Version: 0.23.1
Severity: normal Keywords: apt
Cc: Triage Stage: Unreviewed
Attached Patches: Code Complexity: Unknown

Description

If I roll out a new version of puppet, and have package { puppet: ensure => latest } configured, I would expect that doing an apt-get update would be a critical part of ensuring that the version of puppet installed is the latest possible.
This doesn't appear to be the case in 0.23.1; strawman patch for apt.rb attached.

Attachments

apt-refresh.diff (0.7 kB) - added by thom on 07/25/07 16:22:16.
Patch to ensure apt is updated

Change History

07/25/07 16:22:16 changed by thom

  • attachment apt-refresh.diff added.

Patch to ensure apt is updated

07/25/07 16:24:24 changed by thom

Biggest problem with this patch is that apt-get update is run for each ensure=>latest; even if we only get back 304s that can still add appreciably to our run time.

07/27/07 21:07:39 changed by luke

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

I think this is way too expensive; at this point, the user is responsible for doing the update and making sure it happens before packages are installed.