Add pip::python3 module and pip3 provider.

Adds python3 support to our pip package. Also adds a custom version
of the pip package provider which can be used when installing
things w/ python3-pip is explicitly required. For example:

  package { 'tox',
    provider => pip3,
    require  => Class[pip::python3],
  }

Change-Id: I1b563c8f7e647dad3a134ef1f0ec5b45b63f8b71
Reviewed-on: https://review.openstack.org/32451
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
This commit is contained in:
Dan Prince
2013-06-10 14:55:22 -04:00
committed by Jenkins
parent c5f0e8f6bb
commit 8193b34294

View File

@@ -88,8 +88,10 @@ class jenkins::slave(
ensure => present,
}
package { $::jenkins::params::python3_dev_package:
ensure => present,
if ! defined(Package[$::jenkins::params::python3_dev_package]) {
package { $::jenkins::params::python3_dev_package:
ensure => present,
}
}
package { $::jenkins::params::ruby1_9_1_package: