DOKK / manpages / debian 10 / cdist / cdist-type__package_pip.7.en
CDIST-TYPE__PACKAGE_PIP(7) cdist CDIST-TYPE__PACKAGE_PIP(7)

cdist-type__package_pip - Manage packages with pip

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

None

If supplied, use the name and not the object id as the package name.
Instead of using pip from PATH, use the specific pip path.
Either "present" or "absent", defaults to "present"
Run pip as specified user. By default it runs as root.

# 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
# Use pip in a virtualenv located at /foo/shinken_virtualenv as user foo
__package_pip pyro --state present --pip /foo/shinken_virtualenv/bin/pip --runas foo


cdist-type__package(7)

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

Copyright (C) 2012 Nico Schottelius. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

February 16, 2019 4.10.6