[OpenStack-Infra] [openstack-infra][puppet-pip]

Ricardo Carrillo Cruz ricardo.carrillo.cruz at gmail.com
Mon Aug 10 08:54:28 UTC 2015


Hi folks

I would like to get a consensus on where we should go with puppet-pip and
puppet-python.

Puppet-pip module is supposedly for installing pip and managing pip.conf.
Puppet-python (aka stankevich-python) module manages python, pip,
virtualenv and gunicorn virtual hosts (serious swiss army module btw).

I tried to install Zuul with the puppet-zuul module this weekend and got
failures due to missing pip.
I looked at the code and the module uses puppet-pip, but turns out
puppet-pip does *not* install pip package as one would expect, therefore I
pushed https://review.openstack.org/#/c/211016/.
The patch failed on apply tests with a 'Duplicate declaration', as the
slaves use puppet-python module and this *does* install python-pip on the
slaves:
http://logs.openstack.org/16/211016/1/check/gate-infra-puppet-apply-bare-precise/a63c7fb/console.html#_2015-08-10_07_31_50_728

Given there's quite a bit of overlap between puppet-pip and puppet-python,
I suggest we get rid of puppet-pip from all service puppet modules (like
puppet-zuul) and just use puppet-python for sanity (and also adding the
manage pip.conf functionality to upstream stankevich puppet-python).

Thoughts?

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-infra/attachments/20150810/df1a9bf8/attachment.html>


More information about the OpenStack-Infra mailing list