1CDIST-TYPE__PACKAGE_PIP(7)           cdist          CDIST-TYPE__PACKAGE_PIP(7)
2
3
4

NAME

6       cdist-type__package_pip - Manage packages with pip
7

DESCRIPTION

9       Pip  is  used  in  Python environments to install packages.  It is also
10       included in the python virtualenv environment.
11

REQUIRED PARAMETERS

13       None
14

OPTIONAL PARAMETERS

16       name   If supplied, use the name and not the object id as  the  package
17              name.
18
19       pip    Instead of using pip from PATH, use the specific pip path.
20
21       state  Either "present" or "absent", defaults to "present"
22
23       runas  Run pip as specified user. By default it runs as root.
24

EXAMPLES

26          # Install a package
27          __package_pip pyro --state present
28
29          # Use pip in a virtualenv located at /root/shinken_virtualenv
30          __package_pip pyro --state present --pip /root/shinken_virtualenv/bin/pip
31
32          # Use pip in a virtualenv located at /foo/shinken_virtualenv as user foo
33          __package_pip pyro --state present --pip /foo/shinken_virtualenv/bin/pip --runas foo
34

SEE ALSO

36       cdist-type__package(7)
37

AUTHORS

39       Nico Schottelius <nico-cdist--@--schottelius.org>
40

COPYING

42       Copyright  (C)  2012  Nico  Schottelius. You can redistribute it and/or
43       modify it under the terms of the GNU General  Public  License  as  pub‐
44       lished  by  the  Free  Software  Foundation,  either  version  3 of the
45       License, or (at your option) any later version.
46
48       ungleich GmbH 2020
49
50
51
52
536.9.4                            Dec 21, 2020       CDIST-TYPE__PACKAGE_PIP(7)
Impressum