.\" Man page generated from reStructuredText. . .TH "CDIST-TYPE__PYVENV" "7" "Jun 23, 2019" "5.1.2" "cdist" . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH NAME .sp cdist\-type__pyvenv \- Create or remove python virtual environment .SH DESCRIPTION .sp 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: .SH REQUIRED PARAMETERS .sp None .SH OPTIONAL PARAMETERS .INDENT 0.0 .TP .B state Either "present" or "absent", defaults to "present" .TP .B group Group to chgrp to .TP .B mode Unix permissions, suitable for chmod .TP .B owner User to chown to .TP .B pyvenv Use this specific pyvenv .TP .B venvparams Specific parameters to pass to pyvenv invocation .UNINDENT .SH EXAMPLES .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C __pyvenv /home/services/djangoenv # Use specific pyvenv __pyvenv /home/foo/fooenv \-\-pyvenv /usr/local/bin/pyvenv\-3.4 # Create python virtualenv for user foo. __pyvenv /home/foo/fooenv \-\-group foo \-\-user foo # Create python virtualenv with specific parameters. __pyvenv /home/services/djangoenv \-\-venvparams "\-\-copies \-\-system\-site\-packages" .ft P .fi .UNINDENT .UNINDENT .SH AUTHORS .sp Darko Poljak <\fI\%darko.poljak\-\-@\-\-gmail.com\fP> .SH COPYING .sp Copyright (C) 2016 Darko Poljak. Free use of this software is granted under the terms of the GNU General Public License v3 or later (GPLv3+). .SH COPYRIGHT ungleich GmbH 2019 .\" Generated by docutils manpage writer. .