opscode-cookbooks/apt — pull request #8 by hectcastro (2012-06-21 15:07:37+00:00)
Title: [COOK-1382] Trigger APT update immediately after adding a new repository

The scenario I'm running into:

1. Add a new repository with a more up-to-date package that is already in the base repositories (ex: duplicity ppa)
2. Attempt to install package, but older version installs because `apt-get update` is delayed to the end of the Chef run

Setting the post-installation `apt-get update` to `:immediately` should make it so that the new version is available for installation right away.