Skip to content

Instantly share code, notes, and snippets.

@branan
Created October 19, 2012 22:17
Show Gist options
  • Save branan/3921030 to your computer and use it in GitHub Desktop.
Save branan/3921030 to your computer and use it in GitHub Desktop.
class { 'apt':
always_apt_update => true
}
# This is required if you use PPAs - the python-software-properties package
# might be installed by puppet and you need it *before* apt-get update is run
#
# If you are not using PPAs, you can use a simpler collection
Class['apt::update'] -> Package <| name != 'python-software-properties' |>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment