summaryrefslogtreecommitdiff
path: root/manifests/virtualenv.pp
AgeCommit message (Collapse)Author
2014-07-23Handle case when virtualenv_version fact is not available.Remi Ferrand
As specified in #94, when their is no way to find virtualenv version, fall back to user request. When fact virtualenv_version is not yet available, stupidly trust user input and force systempkgs options without taking care of virtualenv veresion. 1. If the option choosen is not recognized by the installed version of virtualenv, further Exec will fail and dependencies will not be processed. 2. On the next puppet execution, fact _virtualenv_version_ will be available and process should work as expected.
2014-07-18allow to specify directory from which to run the "pip install" commandwimh
2014-04-08Fixed a typo following the upstream mergeVik Bhatti
2014-04-08Pulled from upstreamVik Bhatti
2014-04-08Fixed various linting issuesVik Bhatti
2014-04-08Made venv_dir into a paramater to the virtualenv typeVik Bhatti
2014-03-25Add pypy supportRobert Deaton
2014-01-27Merge branch 'master' of https://github.com/stankevich/puppet-pythonJarl Stefansson
2014-01-20Fix syntax error with brace prioritizationJarl Stefansson
2014-01-16Fix pip 1.5/1.4.1 handlingJarl Stefansson
2014-01-14Wheel support in pip needs current setuptoolsFranz Pletz
When virtualenvs are used without distribute and an old setuptools python package is installed in the system, upgrading pip in the virtualenv won't ensure setuptools > 0.8 is installed which is required by the pip wheel command. This patch upgrades setuptools if distribute isn't used. Signed-off-by: Franz Pletz <fpletz@fnordicwalking.de>
2014-01-07Revert to using /tmp fir for cwd for virte inst.Jarl Stefansson
If the virtualenv target directory does not exist before running the virtualenv command the puppet command will fail if the cwd does not exist, hence revert back to using the /tmp directory for current working directory.
2014-01-03Fix working dir for virtualenv creationJarl Stefansson
2014-01-03Fix wheel/pip1.5 handing with requirementsJarl Stefansson
2014-01-03Merge branch 'master' of https://github.com/stankevich/puppet-pythonJarl Stefansson
Conflicts: manifests/pip.pp manifests/virtualenv.pp Merge curly braces around variable names
2014-01-03Fix grep for detecting if virtenv needs rebuildJarl Stefansson
2014-01-03Fix testing for existing virtual environmentJarl Stefansson
2014-01-03Further fixes for pip 1.5 and wheel handlingJarl Stefansson
2014-01-02Fix bash logic false positivesJarl Stefansson
2014-01-02Fix handling of wheel support for initial pipJarl Stefansson
2014-01-02Fix syntax error in conditional statementJarl Stefansson
2014-01-02Fix wheel support and pip version compatabilityJarl Stefansson
Fix wheel support and compatability for older pip versions by detecting suppport when running the pip command inside a virtualenv.
2014-01-02Fix wheel flag for pip commandsJarl Stefansson
Python 2.6 does not support setuptools < 0.8 which is required for pip wheel support, older versions need to use the --no-use-wheel flag
2014-01-02Add flag to disable wheels for python 2.6Jarl Stefansson
Setuptools 0.8 is required for pip wheel support, Python 2.6 and older only support setuptools 0.7, we therefor need to disable wheels.
2014-01-01Fix path for unless statement.Jarl Stefansson
https://github.com/stankevich/puppet-python/issues/46
2013-12-19Fixing lint issues as per http://docs.puppetlabs.com/guides/style_guide.htmlNeil Saunders
2013-12-17Pip needs log argument not log-file.Jarl Stefansson
2013-12-13Fix syntax errorJarl Stefansson
2013-12-13Merge branch 'master' of github.com:jalli/puppet-pythonJarl Stefansson
Conflicts: manifests/pip.pp manifests/requirements.pp manifests/virtualenv.pp
2013-12-12Fix virtualenv, rebuild if not correct envJarl Stefansson
2013-11-08Fix more syntaxJarl Stefansson
2013-11-08Fix syntax errorJarl Stefansson
2013-11-08change elif to elsifJarl Stefansson
2013-11-08Fix system package handling for < v.1.7Jarl Stefansson
2013-11-07docsJustin Quick
2013-11-07added cwd parameter, made timeout configurableJustin Quick
2013-11-07Add /usr/local/bin to path for pip installed binsJarl Stefansson
2013-11-01Fix virtualenv conditional syntaxJarl Stefansson
2013-11-01Disable system package flag on older virtualenvJarl Stefansson
2013-09-09Merge remote-tracking branch 'upstream/master'Frank Chiang
2013-09-05Added missing Python versionVeros Kaplan
2013-08-15Add comments describing what path parameter does.Frank Chiang
2013-08-15Change hardcoded path in virtualenv module to take in an optional parameter.Frank Chiang
2013-07-09Install pip before distributeMichael Williamson
2013-06-04Added environment parameter to requirements and virtualenv classes and ↵Fotis Gimian
incremented version to 1.1.3
2013-06-04Touched up virtualenv to run from /tmp to avoid write errorsFotis Gimian
2013-06-04Removed unnecessary which commands for obtaining the pip and python executablesFotis Gimian
2013-06-04Amended all documentation and updated version to 1.1.0Fotis Gimian
2013-06-03Removed owner attribute from the pip class as it was not needed and touched ↵Fotis Gimian
up a few mistakes.
2013-06-03Made system virtualenv more robust and ensured that pip logging would occur ↵Fotis Gimian
in an appropriate directory upon failure to avoid errors