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

Bug #11966

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

Added by Dan Bode over 2 years ago. Updated almost 2 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

This issue is currently not available for export. If you are experiencing the issue described below, please file a new ticket in JIRA. Once a new ticket has been created, please add a link to it that points back to this Redmine ticket.


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 2 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 2 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 almost 2 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 almost 2 years ago

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

#5 Updated by Nan Liu almost 2 years ago

  • Status changed from Merged - Pending Release to Closed

Also available in: Atom PDF