Last active
December 12, 2015 04:28
-
-
Save cbetta/4714469 to your computer and use it in GitHub Desktop.
apt-get update before puppet
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
stage { 'preinstall': | |
before => Stage['main'] | |
} | |
class apt_get_update { | |
exec { 'apt-get -y update': } | |
} | |
class { 'apt_get_update': | |
stage => preinstall | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment