puppetlabs/puppet-apt — pull request #49 by nanliu (2012-05-03 17:28:17+00:00)
Title: (#11966) Only invoke apt-get update once.

Move apt-get update exec to a separate class to minimize the number of
apt-get updates invoked by configuration changes.

* remove apt_update exec resource in apt class.
* remove apt-get-${name} in defines.
* apt::source notify Exec['apt update'].
* Remove dependency to Exec['apt_update'].
* fix rspec-puppet tests.