forked from ungleich-public/cdist
54 lines
1.2 KiB
Text
54 lines
1.2 KiB
Text
|
cdist-type__package_pip(7)
|
||
|
=============================
|
||
|
Nico Schottelius <nico-cdist--@--schottelius.org>
|
||
|
|
||
|
|
||
|
NAME
|
||
|
----
|
||
|
cdist-type__package_pip - Manage packages with pip
|
||
|
|
||
|
|
||
|
DESCRIPTION
|
||
|
-----------
|
||
|
Pip is used in Python environments to install packages.
|
||
|
It is also included in the python virtualenv environment.
|
||
|
|
||
|
|
||
|
REQUIRED PARAMETERS
|
||
|
-------------------
|
||
|
state::
|
||
|
Either "present" or "absent".
|
||
|
|
||
|
|
||
|
OPTIONAL PARAMETERS
|
||
|
-------------------
|
||
|
name::
|
||
|
If supplied, use the name and not the object id as the package name.
|
||
|
|
||
|
pip::
|
||
|
Instead of using pip from PATH, use the specific pip path.
|
||
|
|
||
|
|
||
|
EXAMPLES
|
||
|
--------
|
||
|
|
||
|
--------------------------------------------------------------------------------
|
||
|
# Install a package
|
||
|
__package_pip pyro --state present
|
||
|
|
||
|
# Use pip in a virtualenv located at /root/shinken_virtualenv
|
||
|
__package_pip pyro --state present --pip /root/shinken_virtualenv/bin/pip
|
||
|
--------------------------------------------------------------------------------
|
||
|
|
||
|
|
||
|
SEE ALSO
|
||
|
--------
|
||
|
- cdist-type(7)
|
||
|
- cdist-type__package(7)
|
||
|
|
||
|
|
||
|
COPYING
|
||
|
-------
|
||
|
Copyright \(C) 2012 Nico Schottelius. Free use of this software is
|
||
|
granted under the terms of the GNU General Public License version 3 (GPLv3).
|