Created
April 20, 2016 12:47
-
-
Save silenius/2575e71c153bb86fb7ebc956f8be58b3 to your computer and use it in GitHub Desktop.
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
---------- | |
ID: alienalert_venv | |
Function: virtualenv.managed | |
Name: /usr/local/venvs/alienalert | |
Result: False | |
Comment: Fatal Python error: Py_Initialize: can't initialize sys standard streams | |
OSError: [Errno 9] Bad file descriptor | |
Current thread 0x0000000801c06400 (most recent call first): | |
Started: 12:46:46.770735 | |
Duration: 161.996 ms | |
Changes: | |
state file: | |
# Install the virtualenv | |
{{ venv }}_venv: | |
virtualenv.managed: | |
- name: {{ cfg.full_path }} | |
- venv_bin: {{ cfg.venv_builder }} | |
- system_site_packages: False | |
- user: {{ cfg.user }} | |
- clear: False | |
- require: | |
- file: {{ cfg.full_path }} | |
- user: {{ cfg.user }} | |
- pkg: {{ salt['pillar.get']('postgresql:lookup:pkg_client') }} | |
{% if cfg.python_version == 3.4 %} | |
- pkg: python34 | |
{% elif cfg.python_version == 2.7 %} | |
- pkg: python27 | |
- pkg: py27-virtualenv | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment