Skip to content

Instantly share code, notes, and snippets.

@kcollasarundell
Last active December 19, 2015 06:59
Show Gist options
  • Save kcollasarundell/5915592 to your computer and use it in GitHub Desktop.
Save kcollasarundell/5915592 to your computer and use it in GitHub Desktop.
quick and dirty apt ppa thing
exec {'apt-update':
command => 'apt-get update',
refreshonly => true;
}
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