Skip to content

Instantly share code, notes, and snippets.

@jfrost
Created February 3, 2014 23:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jfrost/7fd2593da91e326db200 to your computer and use it in GitHub Desktop.
Save jfrost/7fd2593da91e326db200 to your computer and use it in GitHub Desktop.
python-virtualenv:
pkg.installed
handyrep:
user.present:
- fullname: Handy Rep
- shell: /bin/bash
- groups:
- wheel
/home/handyrep/envs/handyenv:
virtualenv.managed:
- system_site_packages: False
- requirements: salt://handyrep/requirements.txt
- runas: handyrep
- user: handyrep
/home/handyrep/envs/handyenv/handyrep:
file.recurse:
- source: salt://handyrep/handyrep
- user: handyrep
- group: handyrep
- include_empty: True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment