opscode-cookbooks/apt — pull request #90 by lamont-granquist (2014-08-23 15:43:31+00:00)
Title: always update on first run

digitial ocean droplet images may already contain a '/var/lib/apt/periodic/update-success-stamp' which defeats the first-run compile_time_update which causes apt-get update not to initially run which causes build-essential to fail.

the logic here is that if you've not got the first-run sentinel file then it ignore the presence of the periodic update file and always runs.