Last active
December 19, 2015 06:59
-
-
Save kcollasarundell/5915592 to your computer and use it in GitHub Desktop.
quick and dirty apt ppa thing
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
exec {'apt-update': | |
command => 'apt-get update', | |
refreshonly => true; | |
} |
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
package { 'moop': | |
ensure => latest, | |
require => Exec['apt-update']; | |
} | |
file {'ppathis': | |
before => Exec['apt-update'], | |
notify => Exec['apt-update']; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment