Skip to content

Instantly share code, notes, and snippets.

@Yggdrasil
Created September 6, 2012 11:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Yggdrasil/3655448 to your computer and use it in GitHub Desktop.
Save Yggdrasil/3655448 to your computer and use it in GitHub Desktop.
Puppet: Run apt-get update before installing Package
exec { "apt-get update":
refreshonly => true,
schedule => daily,
}
Exec["apt-get update"] -> Package <| |>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment