mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add note to virtualenv state docs about onedir
This commit is contained in:
parent
6c6f0f41f0
commit
766f8cf988
1 changed files with 9 additions and 1 deletions
|
@ -77,7 +77,9 @@ def managed(
|
|||
Prefer wheel archives (requires pip >= 1.4).
|
||||
|
||||
python: None
|
||||
Python executable used to build the virtualenv
|
||||
Python executable used to build the virtualenv. When Salt is installed
|
||||
from a onedir package. You will likely want to specify which python
|
||||
interpertet should be used.
|
||||
|
||||
user: None
|
||||
The user under which to run virtualenv and pip.
|
||||
|
@ -131,6 +133,12 @@ def managed(
|
|||
- requirements: salt://REQUIREMENTS.txt
|
||||
- env_vars:
|
||||
PATH_VAR: '/usr/local/bin/'
|
||||
|
||||
Current versions of Salt use onedir packages and will use onedir python
|
||||
interpreter by default. If you've installed Salt via out package
|
||||
repository. You will likely want to provide the path to the interpreter
|
||||
with wich you would like to be used to create the virtual envrionment. The
|
||||
interperter can be sepcified by providing the `python` option.
|
||||
"""
|
||||
ret = {"name": name, "result": True, "comment": "", "changes": {}}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue