Update comment info.
This commit is contained in:
parent
0ba27d8326
commit
4d5fa3087f
2 changed files with 7 additions and 6 deletions
|
@ -10,15 +10,16 @@ cdist-type__pyvenv - Create or remove python virtual environment
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
This cdist type allows you to create or remove python virtual environment using pyvenv.
|
This cdist type allows you to create or remove python virtual
|
||||||
It assumes python >= 3.3 is already installed. Concrete package depends on concrete OS
|
environment using pyvenv.
|
||||||
and/or OS version/distribution.
|
It assumes pyvenv is already installed. Concrete package depends
|
||||||
|
on concrete OS and/or OS version/distribution.
|
||||||
Ensure this for e.g. in your init manifest as in the following example:
|
Ensure this for e.g. in your init manifest as in the following example:
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
case "$__target_host" in
|
case "$__target_host" in
|
||||||
localhost)
|
localhost)
|
||||||
__package python3 --state present
|
__package python3-venv --state present
|
||||||
require="__package/python3" __pyvenv /home/darko/testenv --owner darko --group darko --mode 740 --state present
|
require="__package/python3-venv" __pyvenv /home/darko/testenv --owner darko --group darko --mode 740 --state present
|
||||||
;;
|
;;
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
# along with cdist. If not, see <http://www.gnu.org/licenses/>.
|
# along with cdist. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
# It assumes python >= 3.3 is already installed. Concrete packages
|
# It assumes pyvenv is already installed. Concrete packages
|
||||||
# or installation procedures depend on concrete OS and/or OS
|
# or installation procedures depend on concrete OS and/or OS
|
||||||
# version/distribution.
|
# version/distribution.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue