Created
June 10, 2014 16:49
-
-
Save ryan-lane/085ec4fd14f337a6b09f to your computer and use it in GitHub Desktop.
Only run apt-get update if a ppa has changed
This file contains 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
Run apt-get update on ppa additions: | |
module.wait: | |
- name: pkg.refresh_db | |
Ensure openstack ppa: | |
pkgrepo.managed: | |
- ppa: openstack-ubuntu-testing/juno | |
- refresh_db: False | |
- watch_in: | |
- module: pkg.refresh_db | |
Ensure salt ppa: | |
pkgrepo.managed: | |
- ppa: saltstack/salt | |
- refresh_db: False | |
- watch_in: | |
- module: pkg.refresh_db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment