Skip to content

Instantly share code, notes, and snippets.

@Caustic
Created August 26, 2013 22:43
Show Gist options
  • Save Caustic/6347551 to your computer and use it in GitHub Desktop.
Save Caustic/6347551 to your computer and use it in GitHub Desktop.
The files to recreate issue.
file_client: local
file_roots:
base:
- /srv/salt/states
pip_pkgs:
pip.installed:
- name: ''
- runas: ubuntu
- requirements: salt://requirements.txt
- bin_env: /home/ubuntu/virtualenv
- cwd: /home/ubuntu
- require:
- virtualenv: /home/ubuntu/virtualenv
Django==1.5.1
wsgiref==0.1.2
uWSGI==1.9.14
base:
'*':
- pip
- virtualenv
virtualenv_reqs:
pkg.installed:
- pkgs:
- python3
- python3-dev
# the package uses python 2.7.3, but we can bootstrap with python3
- python-virtualenv
/home/ubuntu/virtualenv:
virtualenv.managed:
- system_site_packages: False
- python: /usr/bin/python3
- runas: ubuntu
- require:
- pkg.installed: virtualenv_reqs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment