You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installs and manages Python packages from requirements file.
140
-
141
-
**virtualenv** - virtualenv to run pip in. Default: system-wide
142
-
143
-
**proxy** - Proxy server to use for outbound connections. Default: none
144
-
145
-
**owner** - The owner of the virtualenv to ensure that packages are installed with the correct permissions (must be specified). Default: root
146
-
147
-
**src** - The `--src` parameter to `pip`, used to specify where to install `--editable` resources; by default no `--src` parameter is passed to `pip`.
148
-
149
-
**group** - The group that was used to create the virtualenv. This is used to create the requirements file with correct permissions if it's not present already.
150
-
151
-
**manage_requirements** - Create the requirements file if it doesn't exist. Default: true
For class usage refer to the [Reference]("https://github.com/voxpupuli/puppet-python/blob/master/REFERENCE.md). If contributing, this is updated with
@@ -351,23 +76,7 @@ of the collection you want to use (e.g., 'python27', 'python33', or 'rh-python34
351
76
352
77
## Release Notes
353
78
354
-
**Version 1.9.8 Notes**
355
-
The `pip`, `virtualenv` and `gunicorn` parameters of `Class['python']` have changed. These parameters now accept `absent`, `present` and `latest` rather than `true` and `false`. The boolean values are still supported and are equivalent to `present` and `absent` respectively. Support for these boolean parameters is deprecated and will be removed in a later release.
356
-
357
-
**Version 1.7.10 Notes**
358
-
359
-
Installation of python-pip previously defaulted to `false` and was not installed. This default is now `true` and python-pip is installed. To prevent the installation of python-pip specify `pip => false` as a parameter when instantiating the `python` puppet class.
360
-
361
-
**Version 1.1.x Notes**
362
-
363
-
Version `1.1.x` makes several fundamental changes to the core of this module, adding some additional features, improving performance and making operations more robust in general.
364
-
365
-
Please note that several changes have been made in `v1.1.x` which make manifests incompatible with the previous version. However, modifying your manifests to suit is trivial. Please see the notes below.
366
-
367
-
Currently, the changes you need to make are as follows:
368
-
369
-
* All pip definitions MUST include the owner field which specifies which user owns the virtualenv that packages will be installed in. Adding this greatly improves performance and efficiency of this module.
370
-
* You must explicitly specify pip => true in the python class if you want pip installed. As such, the pip package is now independent of the dev package and so one can exist without the other.
79
+
See [Changelog](https://github.com/voxpupuli/puppet-python/blob/master/CHANGELOG.md)
0 commit comments