
New module to setup a Python Package Index mirror. Nginx is setup to serve as the mirror web server. The default setup is to mirror everything. Example of setting up a new mirror, restricting what we will mirror: node "mymirror.mydomain.org" { include openstack_cron class { "pypimirror": base_url => "http://mymirror.mydomain.org", package_matches = ["nose", "pep8", "simplejson"], } } To use it: pip install <package> -i http://mymirror.mydomain.org Change-Id: I36234b8242df0e9d1e7dca7e896005e9e46a9edf
These are a set of puppet manifests and modules that are currently being used to manage some of the efforts of the OpenStack CI project. They are quite bare and crappy at the moment, but should grow soon.
Additionally, there is a script, make_puppet_lp.py which is used to generate a few lists of users from launchpad teams, to make management and population of user accounts on different types of servers easier.
There are currently two different entry points, the slave.pp and the server.pp manifest.
slave.pp is intended to be for jenkins slaves and adds all members of ~openstack-ci-admins
server.pp is intended as the base for other servers and adds members of ~openstack-admins
Puppet needs to be installed via gems, because we use the pip package provider for one of the packages and that is only in 2.7.
For instance:
/var/lib/gems/1.8/bin/puppet apply --modulepath=pwd
/modules manifests/slave.pp
or
/var/lib/gems/1.8/bin/puppet apply --modulepath=pwd
/modules manifests/server.pp