Update comment info.

This commit is contained in:
Darko Poljak 2016-04-13 20:14:06 +02:00
parent 0ba27d8326
commit 4d5fa3087f
2 changed files with 7 additions and 6 deletions

View file

@ -10,15 +10,16 @@ cdist-type__pyvenv - Create or remove python virtual environment
DESCRIPTION
-----------
This cdist type allows you to create or remove python virtual environment using pyvenv.
It assumes python >= 3.3 is already installed. Concrete package depends on concrete OS
and/or OS version/distribution.
This cdist type allows you to create or remove python virtual
environment using pyvenv.
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:
--------------------------------------------------------------------------------
case "$__target_host" in
localhost)
__package python3 --state present
require="__package/python3" __pyvenv /home/darko/testenv --owner darko --group darko --mode 740 --state present
__package python3-venv --state present
require="__package/python3-venv" __pyvenv /home/darko/testenv --owner darko --group darko --mode 740 --state present
;;
--------------------------------------------------------------------------------

View file

@ -18,7 +18,7 @@
# 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
# version/distribution.