Skip to content

Instantly share code, notes, and snippets.

@RobSpectre
Created August 3, 2013 22:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save RobSpectre/6148211 to your computer and use it in GitHub Desktop.
Save RobSpectre/6148211 to your computer and use it in GitHub Desktop.
Auto-upgrade pip with Salt state
packages:
pkg.installed:
- names:
- python
- python-dev
- python-pip
pip-upgrade:
pip.installed:
- upgrade: True
- mirrors: http://a.pypi.python.org
- require:
- pkg: python-pip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment