summaryrefslogtreecommitdiff
path: root/manifests
AgeCommit message (Collapse)Author
2014-07-29Update: Merge remote-tracking branch 'upstream/master'HEADmasterkwadronaut
2014-07-27puppet-lint: removed unused var 'use_pkgname'Daniel Lawrence
2014-07-24Don't override PATH while installing requirements.txtRay Lehtiniemi
Setting the path here causes installation failures if some package in requirements.txt needs tools which happen to be installed in a non-system location. Leave path alone so caller can use Exec { path=>[...] } or similar to locate the desired tools. Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
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-07-17Fixed pip wheel as it was done for virtualenv pipSimon Tremblay
2014-07-03Changed order pattern in init.pp to support the Anchor pattern to contain ↵Don Reilly
dependencies. See bug #8040 https://projects.puppetlabs.com/issues/8040
2014-06-18Quote upper case strings for future parser compat.Tristan Helmich
https://tickets.puppetlabs.com/browse/PUP-2800 explains the reasoning to quote upper case words.
2014-05-07Added timeout option to python::pipSteven Pecht
The default timeout is set to 1800. The same default as virtual environement installations. A timeout parameter is needed for long running installs such as SciPy.
2014-04-24Fixed $(ensure typo in pip.ppLuca Invernizzi
2014-04-24Add editable flag. Check passed arguments.Ali Asad Lotia
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-04-06simplify pkgname defaultIgor Galić
rather than having a rather ugly if and an unhandy case new variable, we can simplify this by making the default $name, in the parameter list.
2014-03-25Add pypy supportRobert Deaton
2014-03-18Merge pull request #73 from giavac/masterSergey Stankevich
Don't try to reinstall pip packages on every Puppet run #59
2014-03-18Don't try to reinstall pip packages on every Puppet run #59; Even if ensure ↵Giacomo Vacca
latest, do not install if already latest
2014-03-18add support for explicit version handling with ensure parameter for pip packagesNathan Sullivan
2014-03-06adds external pkgname variableMarcin Zaremba
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-16Merge pull request #55 from saz/patch-2Sergey Stankevich
remove duplicate pip_install exec for latest case
2014-01-16remove duplicate pip_install exec for latest caseSteffen Zieger
2014-01-16Add path to requirements execSteffen Zieger
2014-01-14Update documentation for python pipJarl 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-04Merging masterSergey Stankevich
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-03Cleanup for merge requestJarl Stefansson
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-02Fixed osfamily nameDavide Mendolia
2014-01-02Replace operatingsystem test for osfamily to increase os supportDavide Mendolia
2014-01-02Fix bash logic false positivesJarl Stefansson
2014-01-02Fix simple typoJarl Stefansson
2014-01-02Fix handling of wheel support for initial pipJarl Stefansson
2014-01-02Fix syntax error in conditional statementJarl Stefansson
2014-01-02Fix quoting of exec commands to use single quotesJarl 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-26Expose user/group config to configure gunicornFelipe Reyes
gunicorn setup was forcing users to run their processes with the user www-data which isn't available in all distributions (for instance Fedora Linux) and it's a good practice to run each website under different users to reduce security issues