From 96712e0cb8f832a81e1cc1918728643bd0360877 Mon Sep 17 00:00:00 2001
From: Emilien Macchi <emilien@redhat.com>
Date: Thu, 16 Aug 2018 22:46:55 +0200
Subject: [PATCH] Enable cbs.centos.org mirror

cbs.centos.org contains some repositories that TripleO project is
interested to pull packages from, having a mirror would ensure more
stability in the gate.

Change-Id: I6337b73703c3cecab714a2fa2de3884c96f1216a
---
 modules/openstack_project/templates/mirror.vhost.erb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/modules/openstack_project/templates/mirror.vhost.erb b/modules/openstack_project/templates/mirror.vhost.erb
index 041e3a21eb..44d6ef9fe0 100644
--- a/modules/openstack_project/templates/mirror.vhost.erb
+++ b/modules/openstack_project/templates/mirror.vhost.erb
@@ -184,6 +184,11 @@ LogFormat "%h %l %u %t \"%r\" %>s %b %{cache-status}e \"%{Referer}i\" \"%{User-a
     ProxyPass "/rdo/" "https://trunk.rdoproject.org/" ttl=120 keepalive=On retry=0
     ProxyPassReverse "/rdo/" "https://trunk.rdoproject.org/"
 
+    # cbs.centos.org
+    CacheEnable disk  "/cbs.centos"
+    ProxyPass "/cbs.centos/" "https://cbs.centos.org/repos/" ttl=120 keepalive=On retry=0
+    ProxyPassReverse "/cbs.centos/" "https://cbs.centos.org/repos/"
+
     # tarballs
     CacheEnable disk  "/tarballs"
     ProxyPass "/tarballs/" "https://tarballs.openstack.org/" ttl=120 keepalive=On retry=0