This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Enforce the order in which apt, apt::source & package | |
# resources are applied across a Puppet run. | |
# | |
# Order of Events | |
# --------------- | |
# Install apt sources -> Run apt update -> Install packages | |
# | |
include ::apt | |
exec { 'apt-update': | |
command => '/usr/bin/apt-get update' |