Skip to content

Instantly share code, notes, and snippets.

@smerchek
Created November 7, 2012 15:49
Show Gist options
  • Save smerchek/4032386 to your computer and use it in GitHub Desktop.
Save smerchek/4032386 to your computer and use it in GitHub Desktop.
Puppet: Require apt-get update before packages
#source: http://johnleach.co.uk/words/771/puppet-dependencies-and-run-stages
exec { "apt-update":
command => "/usr/bin/apt-get update"
}
Exec['apt-update'] -> Package <| |>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment