The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using https://tickets.puppetlabs.com. See the following page for information on filing tickets with JIRA:

Bug #11966

apt module should not create a catalog with more than one apt update

Added by Dan Bode over 3 years ago. Updated over 3 years ago.

Status:ClosedStart date:01/16/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:aptSpent time:-
Target version:-
Keywords: Branch:https://github.com/puppetlabs/puppet-apt/pull/13

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com


Description

Currently, all of the sources that are added also create an apt update resource to refresh the cache.

This can result in multiple calls to apt update (which is a very expensive call)

All resources that need to refresh apt update should refresh a single exec resource

History

#1 Updated by Tim Sharpe over 3 years ago

I’ve created a pull request to fix this up.

https://github.com/puppetlabs/puppet-apt/pull/13

#2 Updated by Dominic Cleal over 3 years ago

  • Status changed from Unreviewed to Tests Insufficient
  • Branch set to https://github.com/puppetlabs/puppet-apt/pull/13

#3 Updated by Nan Liu over 3 years ago

  • Status changed from Tests Insufficient to In Topic Branch Pending Review

New version due to changes to apt module: https://github.com/puppetlabs/puppet-apt/pull/49

#4 Updated by Nan Liu over 3 years ago

  • Status changed from In Topic Branch Pending Review to Merged - Pending Release

#5 Updated by Nan Liu over 3 years ago

  • Status changed from Merged - Pending Release to Closed

Also available in: Atom PDF