Commit Graph

20 Commits

Author SHA1 Message Date
Clark Boylan 92ff76e017 Retire this repo
The opendev project has been moving away from puppet and this is one of
the puppet modules that is no longer used. To simplify things for us we
are taking the extra step of retiring this repo.

Change-Id: I4c99ae4ea9924c97357ebf909f267976872a9323
2022-02-17 11:30:24 -08:00
Clark Boylan c9c748307c Support for package blacklists
This adds support for blacklisting the mirroring of certain packages.
This requires a very new bandersnatch running under python3.

Change-Id: I0de38d79947bbae10650879b0fbdc77db0131918
2018-04-16 14:37:15 -07:00
Clark Boylan 546a73ba0c Install bandersnatch under python3
If the bandersnatch source is set to pip3 then install bandersnatch from
pip under python3. This will allow us to install current bandersnatch and
use newer features like package blacklisting.

Change-Id: I97d8e0ef5a1fb75c513b7f87d6f015f57cd42df6
2018-04-16 14:37:00 -07:00
Monty Taylor 93676a69fb
Pin bandersnatch to 1.11
Because the world regularly loses its collective mind when living under
the aegis of the god known as SemVer, clearly it's ok to break users when you
do it while bumping the major version.

Humble supplicants that we are, bowing before the mightiness and
righteous glory that places developer convenience and code cleanliness
over actual users actually using the actual software, we must prostrate
ourselves and beg for forgiveness while pinning the software to the
previous working version so that our users can have a mirror that works.

Woe betide us that we do not honor the obession with discarding
compatibility and rushing madly headlong into the abyss of the future.
Clearly we are not worthy to sit at the right hand of Tom the father and
his legion of cohorts, but instead must actually run a production
service.

Change-Id: If7bcf7cd93ac0e22d3294e401556f6642389f039
2017-04-06 08:55:42 -05:00
Ian Wienand eb5b5408a6 Ensure pip updates to latest release
I mistakenly assumed in I2b5822a7383b8f2f49958c8268453333dabe52cc that
this module would update the installed version of bandersnatch.
Installing from pip, we want to get the latest release.

Change-Id: I6a1f213a3127f57b41b4ec7e3f128b1bbde2ae37
2016-07-27 11:39:06 +10:00
Philip Marc Schwartz 1df4ea0e16 Update pip provider to use openstack_pip provider
Change-Id: I13f56014c09eae899517324bf303c11024f45baf
Signed-off-by: Philip Marc Schwartz <philip@progmad.com>
2016-06-16 10:19:13 -04:00
Andrey Nikitin 8d3c2b63eb Order of the classes parameters is refactored
Order and intendation of those parameters are changed
to follow Puppet Style Guide recommendation [0].
Moreover, it will allow to an user to find much faster
a variable in a list of variables.

[0]. https://docs.puppetlabs.com/guides/style_guide.html

Change-Id: I4cce6b8e972c45d2a23e57e747de7b9ef0d691a3
2016-03-20 02:05:49 +03:00
James E. Blair 5c59f9527b Make sure mercurial is installed
Change-Id: I3919c3aabb9c3fad8465c42c68fcfd1aed6fcfb5
2016-01-22 14:39:32 -08:00
James E. Blair a88c399ad8 Make bandersnatch::cron class
So that the cronjob may be managed separately.

Change-Id: I56bb3ce2237be1179724f7a2bdcf9d5b04bdecd2
2016-01-21 10:21:32 -08:00
James E. Blair 2940279e8a Make bandersnatch::httpd class
So that apache may be controlled separately.

Change-Id: Id35ed8fd0cacc1fbdc77b811a4386718f9785a77
2016-01-21 07:35:06 -05:00
James E. Blair 08b809cd6d Add support to install from alternate locations
Add support to install bandersnatch from a user-specified mercurial
repo.

Change-Id: I6853ee894c4a5d62a93aedf4b0e9dfaaa96f2c87
2016-01-20 13:02:28 -08:00
James E. Blair 9714729ba5 Add hash_index support
This is added in https://bitbucket.org/pypa/bandersnatch/pull-requests/16/add-option-to-dir-hash-index-files/diff

Change-Id: I29278264af04f1bce4388a2bd58f0334807bb6e1
2016-01-20 13:02:23 -08:00
Jenkins 95391190ca Merge "Add trailing comma to prameters list" 2015-08-16 12:13:47 +00:00
Jenkins 9f6999c79d Merge "Specify which user is running the mirror" 2015-08-14 20:41:36 +00:00
Spencer Krum 8fbd6ff66a Add trailing comma to prameters list
Change-Id: I65ce982d00afbcfde1b5e66790b4257c21df4a7e
2015-08-14 13:34:23 -07:00
Paul Belanger 7b176ea54c Migrate to puppet-httpd module
puppet-httpd is the openstack-infra version of puppetlabs-apache
(0.0.4) release.

This patchset will remove the puppetlabs-apache namespace from -infra
allowing for possible future patchsets to use newer puppetlabs-apache
modules.

Change-Id: I84a0882a18fb83a6eff7a3c1a27aea2813baf7f0
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-07-16 15:40:53 -04:00
Nikki Heald 779e2624f7 Specify which user is running the mirror
Default user is 'root' to keep backwards compatibility.

Change-Id: I8c2347053303e28a55216918c4f8b47cd0c8a7d3
2015-07-16 10:32:28 +01:00
Colleen Murphy 7c85a7d0bc Enable arrow alignment lint check
Discussion following https://review.openstack.org/#/c/201399/ confirmed
that we do want to enforce this check. This patch re-enables the check
and fixes lint errors that fail the check.

Change-Id: I1d3fd00f025aba1abf9b723ea58c99e8458ee5b6
2015-07-14 19:23:49 -07:00
Colleen Murphy e5f8347365 Add Gemfile and puppet 4 checks
In anticipation of puppet 4, start trying to deal with puppet 4 things
that can be helpfully predicted by puppet lint plugins. This patch also
corrects lint errors caught by the puppet-lint-absolute_classname-check
gem.

Change-Id: I419a1354d76cda4c6b177bcab0eb7ff7866410f6
2015-07-13 19:40:58 -07:00
Mike Heald 2889d8d443 Initial import of puppet-bandersnatch module
Module based on the existing bandersnatch manifests.

Change-Id: Ida13ff6ffa3505c48330e35bcf04ad459d975d9b
2015-03-25 16:40:57 +00:00