AddNewQuattorVersion: Difference between revisions

From T2B Wiki
Jump to navigation Jump to search
(Created page with "* Clone the template-library-core (here in version 17.2.0): <pre> cd cfg/core/ git clone -b "17.2.0" git@github.com:quattor/template-library-core.git 17.2.0 rm -fr 17.2.0/.git...")
 
No edit summary
 
Line 6: Line 6:
</pre>
</pre>


* Add the proxy for the new version on qrproxy:
 
** Edit the file '''/etc/httpd/conf/httpd.conf''' and add
* Add the proxy for the new version in quattor:
 
Edit the file '''sites/iihe-production/site/repositories.pan''' and add your version to the list:
variable QUATTOR_VERSIONS = list('17.2.0', '16.12.0', );
 
This will automatically configure a proxypass on proxy machine to point to the quattor repo and activate the cache.<br>
You should see on '''proxy''' in the file '''/etc/httpd/conf.d/locations.conf''' this snippet added:
<pre>
<pre>
<Location /17.2.0/>
<Location /17.2.0/>
Line 13: Line 19:
         ProxyPassReverse /
         ProxyPassReverse /
</Location>
</Location>
CacheEnable disk /17.2.0
CacheEnable disk /17.2.0
</pre>
</pre>

Latest revision as of 13:17, 20 September 2017

  • Clone the template-library-core (here in version 17.2.0):
cd cfg/core/
git clone -b "17.2.0" git@github.com:quattor/template-library-core.git 17.2.0
rm -fr 17.2.0/.git


  • Add the proxy for the new version in quattor:

Edit the file sites/iihe-production/site/repositories.pan and add your version to the list:

variable QUATTOR_VERSIONS = list('17.2.0', '16.12.0', );

This will automatically configure a proxypass on proxy machine to point to the quattor repo and activate the cache.
You should see on proxy in the file /etc/httpd/conf.d/locations.conf this snippet added:

<Location /17.2.0/>
        ProxyPass http://yum.quattor.org/17.2.0/
        ProxyPassReverse /
</Location>
CacheEnable disk /17.2.0