If the proxy is unset then you cannot set http_proxy in the environment
or it breaks pip completely and the virtualenv fails.
Allow more than one python::requirements to be used.
Remove the directory part so it can actually write the file.
Merge pull request #1 from MITx/master
Fixed no HTTP proxy case. Added app_interface.
python::gunicorn - removed unused/undocumented attributes.
python::virtualenv - '--system-site-packages' option
New 'systempkgs' parameter will call virtualenv with the '--system-site-packages' option, which can greatly speed up creation in some cases.
python::gunicorn - added template parameter
The idea is to be able to use a different template, in case the one provided with the module doesn't fit the user's need.
Merge pull request #2 from mfournier/gunicorn_and_virtualenv_additions
Gunicorn and virtualenv additions
Adding pip; modifying Gunicorn template for Django
Merge branch 'master' of github.com:stankevich/puppet-python
* 'master' of github.com:stankevich/puppet-python: updated authors. python::gunicorn - added template parameter python::virtualenv - '--system-site-packages' option python::gunicorn - removed unused/undocumented attributes.
There was a dependency between python::virtualenv and python::requirements. Basically, the virtualenv wanted to initialize requirements, but requirements depended on the virtualenv being created already, resulting in: err: Could not apply complete catalog: Found 1 dependency cycle: (Exec[python_requirements_check_/usr/share/err/repo/requirements.txt] => Python::Requirements[/usr/share/err/repo/requirements.txt] => Exec[python_virtualenv_/usr/share/err/python3] => Python::Requirements[/usr/share/err/repo/requirements.txt] => Exec[python_requirements_check_/usr/share/err/repo/requirements.txt])
Make pip install distribute in a virtualenv optional
pip install distribute currentlyfails on Python 3, this way people can skip installing it. It's included by default to remain backward- compatible
Allow virtualenv definitions to share the same requirements file
Merge pull request #6 from zoni/sharedrequirements
Allow virtualenv definitions to share the same requirements file
Merge pull request #5 from zoni/distribute
Make pip install distribute in a virtualenv optional
Merge pull request #7 from woldan/master
Add search path to virtualenv setup command.
Merge pull request #8 from salimane/pr_python_requirements_cwd
python::requirements Error: Parameter cwd failed on Exec for virtualenv=system
Fixes: puppet-lint "ERROR: two-space soft tabs not used" error
Fix regression with $cwd in python::requirements
Commit 8b22e3e introduces a regression which in some cases specifies the full path to pip as it's current working directory, rather than the actual directory pip is in. Obviously this will fail. This commit fixes this.
Merge pull request #9 from zoni/pipcwd
Fix regression with $cwd in python::requirements
Merge pull request #11 from theospears/virtualenv_owner
Allow setting owner for virtualenv and requirements
Merge pull request #12 from tbartelmess/master
Support for CentOS and RedHat Linux
Merge pull request #13 from tbartelmess/master
Use regex for OS matching
add -i <address option to install pip packages to the exec commands
Merge pull request #14 from simonoded/master
adding pipindex option
Merge pull request #15 from adevore/master
Fix typo from pull request #14
Removed multiline backslashes from the execution statement, since thi…
…s can cause issues with vagrant, linux guest, windows host and shared folders
Removed SHA calculation from requirements and applied the audit optio…
…n the requirements file resource which should do exaxtly the same out of the box
Merge pull request #16 from schacki/5d3b340ac6ebbee8cca959c2653f141e3…
…030f646 Removed Multiline backslashed from virtuelv Exec statement
Merge pull request #17 from schacki/master
Remove SHA calculation from requirements
Merge pull request #19 from jamescarr/patch-1
Added owner and group params for virtualenv.
Added braces around python variable to avoid Puppet syntax errors in …
…install manifest
Specifically looked for the activate script when creating a virtualen…
…v since this is created last. This ensures that a half-created virtualenv will be detected and corrected by Puppet.
Added owner, group to the pip class which ensures that packages will …
…be installed with the correct permissions.
Added environment attribute to the pip class which allows for users t…
…o override environment variables like LD_LIBRARY_PATH and ORACLE_HOME which are needed to install packages like cx_Oracle.
Now that all exec statements run under a particular owner, there is n…
…o need for the CPU intensive recursive virtualenv permission check
Made system virtualenv more robust and ensured that pip logging would…
… occur in an appropriate directory upon failure to avoid errors
Removed owner attribute from the pip class as it was not needed and t…
…ouched up a few mistakes.