puppet_python.git
5 years agoUpdate: Merge remote-tracking branch 'upstream/master' master
kwadronaut [Tue, 29 Jul 2014 17:08:36 +0000 (19:08 +0200)]
Update: Merge remote-tracking branch 'upstream/master'

5 years agoMerge pull request #100 from daniellawrence/remove_ruby_1.8.7_support
Sergey Stankevich [Mon, 28 Jul 2014 04:50:18 +0000 (00:50 -0400)]
Merge pull request #100 from daniellawrence/remove_ruby_1.8.7_support

Removed support for ruby 1.8.7 during tests.

5 years agoRemoved support for ruby 1.8.7 during tests.
Daniel Lawrence [Sun, 27 Jul 2014 21:59:26 +0000 (07:59 +1000)]
Removed support for ruby 1.8.7 during tests.

5 years agoMerge pull request #99 from daniellawrence/rspec
Sergey Stankevich [Sun, 27 Jul 2014 15:48:56 +0000 (11:48 -0400)]
Merge pull request #99 from daniellawrence/rspec

Getting started with basic rspec

5 years agoMerge pull request #98 from daniellawrence/remove_use_pkgname_not_used
Sergey Stankevich [Sun, 27 Jul 2014 15:48:52 +0000 (11:48 -0400)]
Merge pull request #98 from daniellawrence/remove_use_pkgname_not_used

puppet-lint: removed unused var 'use_pkgname'

5 years agoremoved tmp files
Daniel Lawrence [Sun, 27 Jul 2014 11:12:10 +0000 (21:12 +1000)]
removed tmp files

5 years agostarted adding checks for python::requirements
Daniel Lawrence [Sun, 27 Jul 2014 11:09:08 +0000 (21:09 +1000)]
started adding checks for python::requirements

5 years agoincrease spec coverage of puppet::install
Daniel Lawrence [Sun, 27 Jul 2014 10:44:36 +0000 (20:44 +1000)]
increase spec coverage of puppet::install

5 years agoSupport for travis-ci.org
Daniel Lawrence [Sun, 27 Jul 2014 10:00:50 +0000 (20:00 +1000)]
Support for travis-ci.org

5 years agostarted adding spec tests
Daniel Lawrence [Sun, 27 Jul 2014 09:42:03 +0000 (19:42 +1000)]
started adding spec tests

5 years agopuppet-lint: removed unused var 'use_pkgname'
Daniel Lawrence [Sun, 27 Jul 2014 07:59:03 +0000 (17:59 +1000)]
puppet-lint: removed unused var 'use_pkgname'

5 years agoMerge pull request #97 from rayl/master
Sergey Stankevich [Thu, 24 Jul 2014 15:54:31 +0000 (11:54 -0400)]
Merge pull request #97 from rayl/master

Don't override PATH while installing requirements.txt

5 years agoDon't override PATH while installing requirements.txt
Ray Lehtiniemi [Thu, 24 Jul 2014 15:32:52 +0000 (09:32 -0600)]
Don't override PATH while installing requirements.txt

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>
5 years agoMerge pull request #95 from ccin2p3/systempkg_when_no_fact_available
Sergey Stankevich [Thu, 24 Jul 2014 05:42:12 +0000 (01:42 -0400)]
Merge pull request #95 from ccin2p3/systempkg_when_no_fact_available

Handle case when virtualenv_version fact is not available.

5 years agoHandle case when virtualenv_version fact is not available.
Remi Ferrand [Wed, 23 Jul 2014 15:25:18 +0000 (17:25 +0200)]
Handle case when virtualenv_version fact is not available.

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.

5 years agoMerge pull request #93 from wimh/master
Sergey Stankevich [Fri, 18 Jul 2014 20:31:17 +0000 (16:31 -0400)]
Merge pull request #93 from wimh/master

allow to specify directory from which to run the "pip install" command

5 years agoallow to specify directory from which to run the "pip install" command
wimh [Fri, 18 Jul 2014 16:46:27 +0000 (18:46 +0200)]
allow to specify directory from which to run the "pip install" command

5 years agoRelease 1.7.7
Sergey Stankevich [Thu, 17 Jul 2014 14:06:14 +0000 (17:06 +0300)]
Release 1.7.7

5 years agoMerge pull request #92 from tremblaysimon/fixpipwheel
Sergey Stankevich [Thu, 17 Jul 2014 14:05:19 +0000 (10:05 -0400)]
Merge pull request #92 from tremblaysimon/fixpipwheel

Fixed pip wheel

5 years agoFixed pip wheel as it was done for virtualenv pip
Simon Tremblay [Thu, 17 Jul 2014 13:59:10 +0000 (09:59 -0400)]
Fixed pip wheel as it was done for virtualenv pip

5 years agoIgnore geppetto files
Simon Tremblay [Thu, 17 Jul 2014 13:55:04 +0000 (09:55 -0400)]
Ignore geppetto files

5 years agoRelease 1.7.6
Sergey Stankevich [Mon, 7 Jul 2014 11:44:59 +0000 (13:44 +0200)]
Release 1.7.6

5 years agoMerge pull request #90 from dreilly1982/master
Sergey Stankevich [Mon, 7 Jul 2014 06:18:37 +0000 (02:18 -0400)]
Merge pull request #90 from dreilly1982/master

Changed order pattern in init.pp to support the Anchor pattern to contain dependencies.

5 years agoChanged order pattern in init.pp to support the Anchor pattern to contain dependencies.
Don Reilly [Thu, 3 Jul 2014 20:41:41 +0000 (15:41 -0500)]
Changed order pattern in init.pp to support the Anchor pattern to contain dependencies.

See bug #8040 https://projects.puppetlabs.com/issues/8040

5 years agoMerge pull request #89 from fadenb/fix/futureparser_compatibility
Sergey Stankevich [Thu, 19 Jun 2014 03:46:27 +0000 (23:46 -0400)]
Merge pull request #89 from fadenb/fix/futureparser_compatibility

Quote upper case strings for future parser compatibility

5 years agoQuote upper case strings for future parser compat.
Tristan Helmich [Wed, 18 Jun 2014 16:13:16 +0000 (18:13 +0200)]
Quote upper case strings for future parser compat.

https://tickets.puppetlabs.com/browse/PUP-2800 explains the reasoning to
quote upper case words.

5 years agoMerge pull request #88 from GaleDragon/master
Sergey Stankevich [Tue, 17 Jun 2014 23:24:03 +0000 (19:24 -0400)]
Merge pull request #88 from GaleDragon/master

Update README.md

5 years agoUpdate README.md
GaleDragon [Tue, 17 Jun 2014 19:36:49 +0000 (15:36 -0400)]
Update README.md

Added a note that if the resource name is not an absolute path you need to include that path in the options. Added after personal experience.

5 years agoMerge pull request #86 from igalic/patch-2
Sergey Stankevich [Fri, 30 May 2014 15:59:37 +0000 (11:59 -0400)]
Merge pull request #86 from igalic/patch-2

introduce puppet syntax hilighting

5 years agointroduce puppet syntax hilighting
Igor Galić [Fri, 30 May 2014 13:54:16 +0000 (15:54 +0200)]
introduce puppet syntax hilighting

we also normalize tabs to spaces

5 years agoMerge pull request #85 from kracekumar/patch-1
Sergey Stankevich [Tue, 20 May 2014 19:04:22 +0000 (15:04 -0400)]
Merge pull request #85 from kracekumar/patch-1

Fixed several spelling mistake

5 years agoFixed several spelling mistake
kracekumar [Tue, 20 May 2014 19:02:00 +0000 (00:32 +0530)]
Fixed several spelling mistake

5 years agoRelease 1.7.5
Sergey Stankevich [Wed, 7 May 2014 18:29:05 +0000 (14:29 -0400)]
Release 1.7.5

5 years agoMerge pull request #84 from swpecht/master
Sergey Stankevich [Wed, 7 May 2014 18:28:37 +0000 (14:28 -0400)]
Merge pull request #84 from swpecht/master

Adds a timeout option to python::pip installations

5 years agoAdded timeout option to python::pip
Steven Pecht [Wed, 7 May 2014 18:18:26 +0000 (14:18 -0400)]
Added timeout option to python::pip

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.

5 years agoRelease 1.7.4
Sergey Stankevich [Thu, 24 Apr 2014 20:16:38 +0000 (16:16 -0400)]
Release 1.7.4

5 years agoMerge pull request #82 from invernizzi/patch-1
Sergey Stankevich [Thu, 24 Apr 2014 20:16:12 +0000 (16:16 -0400)]
Merge pull request #82 from invernizzi/patch-1

Fixed $(ensure typo in pip.pp

5 years agoFixed $(ensure typo in pip.pp
Luca Invernizzi [Thu, 24 Apr 2014 20:15:47 +0000 (13:15 -0700)]
Fixed $(ensure typo in pip.pp

5 years agoRelease 1.7.3
Sergey Stankevich [Thu, 24 Apr 2014 12:33:14 +0000 (08:33 -0400)]
Release 1.7.3

5 years agoMerge pull request #80 from lotia/master
Sergey Stankevich [Thu, 24 Apr 2014 12:32:15 +0000 (08:32 -0400)]
Merge pull request #80 from lotia/master

Add an editable argument in the pip provider

5 years agoAdd editable flag. Check passed arguments.
Ali Asad Lotia [Thu, 24 Apr 2014 12:21:52 +0000 (13:21 +0100)]
Add editable flag. Check passed arguments.

5 years agoIgnore rbenv files
Ali Asad Lotia [Thu, 24 Apr 2014 09:38:28 +0000 (10:38 +0100)]
Ignore rbenv files

5 years agoRelease 1.7.2
Sergey Stankevich [Tue, 8 Apr 2014 14:14:30 +0000 (10:14 -0400)]
Release 1.7.2

5 years agoMerge pull request #78 from codesplicer/master
Sergey Stankevich [Tue, 8 Apr 2014 14:13:49 +0000 (10:13 -0400)]
Merge pull request #78 from codesplicer/master

Make venv_dir into a class parameter

5 years agoFixed a typo following the upstream merge
Vik Bhatti [Tue, 8 Apr 2014 14:01:59 +0000 (15:01 +0100)]
Fixed a typo following the upstream merge

5 years agoPulled from upstream
Vik Bhatti [Tue, 8 Apr 2014 13:50:52 +0000 (14:50 +0100)]
Pulled from upstream

5 years agoBump module version
Vik Bhatti [Tue, 8 Apr 2014 13:06:26 +0000 (14:06 +0100)]
Bump module version

5 years agoFixed various linting issues
Vik Bhatti [Tue, 8 Apr 2014 12:45:33 +0000 (13:45 +0100)]
Fixed various linting issues

5 years agoMade venv_dir into a paramater to the virtualenv type
Vik Bhatti [Tue, 8 Apr 2014 12:45:09 +0000 (13:45 +0100)]
Made venv_dir into a paramater to the virtualenv type

5 years agoMerge pull request #77 from igalic/patch-1
Sergey Stankevich [Sun, 6 Apr 2014 14:25:03 +0000 (10:25 -0400)]
Merge pull request #77 from igalic/patch-1

simplify pkgname default

5 years agosimplify pkgname default
Igor Galić [Sun, 6 Apr 2014 10:40:46 +0000 (12:40 +0200)]
simplify pkgname default

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.

5 years agoRelease 1.7.1
Sergey Stankevich [Tue, 25 Mar 2014 20:54:00 +0000 (16:54 -0400)]
Release 1.7.1

5 years agoMerge pull request #75 from quizlet/master
Sergey Stankevich [Tue, 25 Mar 2014 20:53:06 +0000 (16:53 -0400)]
Merge pull request #75 from quizlet/master

Add pypy support

5 years agoAdd pypy support
Robert Deaton [Tue, 25 Mar 2014 19:32:55 +0000 (12:32 -0700)]
Add pypy support

5 years agoRelease 1.7.0
Sergey Stankevich [Tue, 18 Mar 2014 12:38:33 +0000 (08:38 -0400)]
Release 1.7.0

5 years agoMerge pull request #73 from giavac/master
Sergey Stankevich [Tue, 18 Mar 2014 12:34:56 +0000 (08:34 -0400)]
Merge pull request #73 from giavac/master

Don't try to reinstall pip packages on every Puppet run #59

5 years agoMerge pull request #72 from CpuID/master
Sergey Stankevich [Tue, 18 Mar 2014 12:34:44 +0000 (08:34 -0400)]
Merge pull request #72 from CpuID/master

add support for explicit version handling with ensure parameter for pip packages

5 years agoMerge pull request #71 from tehgeekmeister/patch-1
Sergey Stankevich [Tue, 18 Mar 2014 12:32:54 +0000 (08:32 -0400)]
Merge pull request #71 from tehgeekmeister/patch-1

Document newly required pkgname option for pip.

5 years agoDon't try to reinstall pip packages on every Puppet run #59; Even if ensure latest...
Giacomo Vacca [Tue, 18 Mar 2014 11:14:29 +0000 (11:14 +0000)]
Don't try to reinstall pip packages on every Puppet run #59; Even if ensure latest, do not install if already latest

5 years agoadd support for explicit version handling with ensure parameter for pip packages
Nathan Sullivan [Tue, 18 Mar 2014 03:15:32 +0000 (13:15 +1000)]
add support for explicit version handling with ensure parameter for pip packages

5 years agoDocument newly required pkgname option for pip.
Ezekiel Smithburg [Fri, 14 Mar 2014 23:21:37 +0000 (16:21 -0700)]
Document newly required pkgname option for pip.

5 years agoRelease 1.6.6
Sergey Stankevich [Thu, 6 Mar 2014 14:40:15 +0000 (09:40 -0500)]
Release 1.6.6

5 years agoMerge branch 'master' of github.com:stankevich/puppet-python
Sergey Stankevich [Thu, 6 Mar 2014 14:39:28 +0000 (09:39 -0500)]
Merge branch 'master' of github.com:stankevich/puppet-python

* 'master' of github.com:stankevich/puppet-python:
  adds external pkgname variable

5 years agoRelease 1.6.5
Sergey Stankevich [Thu, 6 Mar 2014 14:38:54 +0000 (09:38 -0500)]
Release 1.6.5

5 years agoMerge pull request #65 from marcinzaremba/fix-pip-name
Sergey Stankevich [Thu, 6 Mar 2014 14:38:33 +0000 (09:38 -0500)]
Merge pull request #65 from marcinzaremba/fix-pip-name

Same package for mutiple virtualenvs

5 years agoadds external pkgname variable
Marcin Zaremba [Thu, 6 Mar 2014 14:33:02 +0000 (15:33 +0100)]
adds external pkgname variable

5 years agoRelease 1.6.4
Sergey Stankevich [Thu, 6 Mar 2014 13:18:00 +0000 (08:18 -0500)]
Release 1.6.4

5 years agoMerge pull request #62 from genome-vendor/master
Sergey Stankevich [Tue, 4 Mar 2014 21:21:31 +0000 (16:21 -0500)]
Merge pull request #62 from genome-vendor/master

Silence warnings when programs are not installed

5 years agoAdd begin/rescue/end to setcode block
Matt Callaway [Tue, 4 Mar 2014 21:17:07 +0000 (15:17 -0600)]
Add begin/rescue/end to setcode block

This silences these warnings:

Could not retrieve pip_version: undefined method `[]' for nil:NilClass
Could not retrieve pip_version: can't convert Symbol into String

5 years agoAdd begin/rescue/end to setcode block
Matt Callaway [Tue, 4 Mar 2014 21:14:08 +0000 (15:14 -0600)]
Add begin/rescue/end to setcode block

This silences these warnings:

Could not retrieve pip_version: undefined method `[]' for nil:NilClass
Could not retrieve pip_version: can't convert Symbol into String

5 years agoMerge pull request #60 from huit/el5_facts_error_message
Sergey Stankevich [Wed, 26 Feb 2014 17:08:28 +0000 (12:08 -0500)]
Merge pull request #60 from huit/el5_facts_error_message

prevent Facter error when packages not installed

5 years agoprevent Facter error when packages not installed
Steve Huff [Wed, 26 Feb 2014 17:04:54 +0000 (12:04 -0500)]
prevent Facter error when packages not installed

on RHEL systems, `pkg.retrieve[pkg.property(:ensure)]` returns `:absent`
when a package is not installed; this can generate an unsightly error
when running these facts on a RHEL system where the necessary OS
packages are not installed:

    [root@gepeto ~]# facter -p osfamily
    RedHat
    [root@gepeto ~]# facter -p lsbmajdistrelease
    5
    [root@gepeto ~]# grep version /etc/puppet/modules/python/Modulefile
    version      '1.6.3'
    [root@gepeto ~]# facter -p virtualenv_version pip_version
    Could not retrieve virtualenv_version: can't convert Symbol into String
    Could not retrieve pip_version: undefined method `[]' for nil:NilClass
    Could not retrieve pip_version: can't convert Symbol into String
    pip_version =>
    virtualenv_version =>

Fixes #50

5 years agoVersion 1.6.3
Sergey Stankevich [Sun, 2 Feb 2014 08:52:51 +0000 (11:52 +0300)]
Version 1.6.3

5 years agoMerge pull request #57 from jalli/master
Sergey Stankevich [Mon, 27 Jan 2014 19:27:15 +0000 (11:27 -0800)]
Merge pull request #57 from jalli/master

Fix pip wheel handling when wheels are supported but --no-use-wheel flag is not

5 years agoMerge branch 'master' of https://github.com/stankevich/puppet-python
Jarl Stefansson [Mon, 27 Jan 2014 18:41:10 +0000 (13:41 -0500)]
Merge branch 'master' of https://github.com/stankevich/puppet-python

5 years agoFix syntax error with brace prioritization
Jarl Stefansson [Mon, 20 Jan 2014 18:49:41 +0000 (13:49 -0500)]
Fix syntax error with brace prioritization

5 years agoMerge pull request #56 from vholer/master
Sergey Stankevich [Mon, 20 Jan 2014 14:13:11 +0000 (06:13 -0800)]
Merge pull request #56 from vholer/master

Drop stderr in pip --version

5 years agoDrop stderr in pip --version
Vlastimil Holer [Mon, 20 Jan 2014 13:30:49 +0000 (14:30 +0100)]
Drop stderr in pip --version

5 years agoFix pip 1.5/1.4.1 handling
Jarl Stefansson [Thu, 16 Jan 2014 15:32:30 +0000 (10:32 -0500)]
Fix pip 1.5/1.4.1 handling

5 years agoMerge pull request #55 from saz/patch-2
Sergey Stankevich [Thu, 16 Jan 2014 13:56:30 +0000 (05:56 -0800)]
Merge pull request #55 from saz/patch-2

remove duplicate pip_install exec for latest case

5 years agoMerge pull request #54 from saz/patch-1
Sergey Stankevich [Thu, 16 Jan 2014 13:56:26 +0000 (05:56 -0800)]
Merge pull request #54 from saz/patch-1

Add path to requirements exec

5 years agoremove duplicate pip_install exec for latest case
Steffen Zieger [Thu, 16 Jan 2014 00:19:41 +0000 (01:19 +0100)]
remove duplicate pip_install exec for latest case

5 years agoAdd path to requirements exec
Steffen Zieger [Thu, 16 Jan 2014 00:17:34 +0000 (01:17 +0100)]
Add path to requirements exec

5 years agoUpdate documentation for python pip
Jarl Stefansson [Tue, 14 Jan 2014 22:02:38 +0000 (17:02 -0500)]
Update documentation for python pip

5 years agoVersion 1.6.2
Sergey Stankevich [Tue, 14 Jan 2014 14:37:17 +0000 (09:37 -0500)]
Version 1.6.2

5 years agoMerge pull request #52 from Mayflower/fix/pip-wheel-needs-current-setuptools
Sergey Stankevich [Tue, 14 Jan 2014 14:36:32 +0000 (06:36 -0800)]
Merge pull request #52 from Mayflower/fix/pip-wheel-needs-current-setuptools

Wheel support in pip needs current setuptools

5 years agoWheel support in pip needs current setuptools
Franz Pletz [Tue, 14 Jan 2014 14:25:38 +0000 (15:25 +0100)]
Wheel support in pip needs current setuptools

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>
5 years agoVersion 1.6.1
Sergey Stankevich [Wed, 8 Jan 2014 01:36:15 +0000 (03:36 +0200)]
Version 1.6.1

5 years agoMerge pull request #51 from jalli/master
Sergey Stankevich [Wed, 8 Jan 2014 01:35:22 +0000 (17:35 -0800)]
Merge pull request #51 from jalli/master

Fix secondary version detection for python and revert back to using /tmp for current working dir during virtualenv install.

5 years agoFix Python version detection, stderr to stdout
Jarl Stefansson [Tue, 7 Jan 2014 19:25:42 +0000 (14:25 -0500)]
Fix Python version detection, stderr to stdout

5 years agoSilence facter by redirecting python -V stderr
Jarl Stefansson [Tue, 7 Jan 2014 18:29:00 +0000 (13:29 -0500)]
Silence facter by redirecting python -V stderr

5 years agoRevert to using /tmp fir for cwd for virte inst.
Jarl Stefansson [Tue, 7 Jan 2014 18:20:27 +0000 (13:20 -0500)]
Revert to using /tmp fir for cwd for virte inst.

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.

5 years agoMerging master
Sergey Stankevich [Sat, 4 Jan 2014 07:24:07 +0000 (10:24 +0300)]
Merging master

5 years agoVersion 1.5.0
Sergey Stankevich [Sat, 4 Jan 2014 07:17:49 +0000 (10:17 +0300)]
Version 1.5.0

5 years agoMerge pull request #49 from jalli/master
Sergey Stankevich [Sat, 4 Jan 2014 07:16:55 +0000 (23:16 -0800)]
Merge pull request #49 from jalli/master

Add compatability/support for pip 1.5 and fix erroneous rebuilds

5 years agoFix working dir for virtualenv creation
Jarl Stefansson [Fri, 3 Jan 2014 18:01:45 +0000 (13:01 -0500)]
Fix working dir for virtualenv creation

5 years agoFix wheel/pip1.5 handing with requirements
Jarl Stefansson [Fri, 3 Jan 2014 16:45:39 +0000 (11:45 -0500)]
Fix wheel/pip1.5 handing with requirements

5 years agoMerge branch 'master' of https://github.com/stankevich/puppet-python
Jarl Stefansson [Fri, 3 Jan 2014 16:33:12 +0000 (11:33 -0500)]
Merge branch 'master' of https://github.com/stankevich/puppet-python

Conflicts:
manifests/pip.pp
manifests/virtualenv.pp

Merge curly braces around variable names

5 years agoCleanup for merge request
Jarl Stefansson [Fri, 3 Jan 2014 15:53:24 +0000 (10:53 -0500)]
Cleanup for merge request

5 years agoFix grep for detecting if virtenv needs rebuild
Jarl Stefansson [Fri, 3 Jan 2014 15:49:25 +0000 (10:49 -0500)]
Fix grep for detecting if virtenv needs rebuild