Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#11966) Only invoke apt-get update once. #49

Merged
merged 3 commits into from May 4, 2012

Conversation

nanliu
Copy link

@nanliu nanliu commented May 3, 2012

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.

nanliu added 3 commits May 4, 2012 13:35
Move apt-get update exec to a seperate 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.

Conflicts:

	manifests/source.pp
Change apt::ppa define type to also use the apt::update class to invoke
apt-get update once.
Based on code review change exec from apt update to apt_update.
branan added a commit that referenced this pull request May 4, 2012
(#11966) Only invoke apt-get update once.
@branan branan merged commit 669f5b5 into puppetlabs:master May 4, 2012
@LukasAud LukasAud added the bugfix label Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants