Skip to content
This repository has been archived by the owner on Dec 27, 2021. It is now read-only.

Make aptitude role faster #136

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jbzdak
Copy link
Contributor

@jbzdak jbzdak commented Dec 28, 2013

Aptitude role always executed ensure_up_to_date which often takes some time, albeit often it is unnecessary.

Now Aptitude role executed ensure_up_to_date only if it actyally installs some packages, in this case when provisioning server that has all packages installed this role works significantly faster.

As a bonus I added a call to apt-get update before installing aptitude --- this should be done.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant