System configuration for the OpenDev Collaboratory
Go to file
Clark Boylan dea75ed695 Load balance git requests.
* install_modules.sh: Add puppetlabs-haproxy forge module.

* modules/cgit/manifests/init.pp: Add haproxy config to load balance
https, https and git protocol git access. Each git server will host git
http on port 8080, https on port 4443 and git protocol on 29418. These
endpoints will then be load balanced by a single haproxy instance
listening on ports 80, 443 and 9418. The use of haproxy and having
services listen on offset ports to accomodate haproxy is toggleable
using the $balance_git and $behind_proxy boolean flags.
Additionally, configure rsyslog for haproxy.

* modules/cgit/files/rsyslog.haproxy.conf: Enable syslog over UDP on
port 514. This is needed by haproxy to perform logging. Send local0
messages to /var/log/haproxy.log.

* modules/cgit/templates/ssl.conf.erb: Make Apache https listen port
configurable. Remove default virtualhost.

* modules/cgit/templates/httpd.conf.erb: Make Apache http listen port
configurable.

* modules/cgit/templates/git.vhost..erb: Make Apache http(s) listen
ports configuruable. Allow http without redirecting to https as a
fallback option to accomodate CentOS clients.

* modules/openstack_project/manifests/git.pp: Pass load balancer
variables through to the cgit manifest.

* manifests/site.pp: Configure git.o.o to run the load balancer haproxy
and balance across the new gitXX.o.o nodes.

Change-Id: Icefc5923cff9a7c6ce62c1923ec2ea87ebc6474a
2013-08-22 10:52:04 -07:00
doc/source Include instructions for deleting lock file 2013-08-17 21:56:20 -04:00
launch More launch improvements 2013-08-02 20:04:29 +00:00
manifests Load balance git requests. 2013-08-22 10:52:04 -07:00
modules Load balance git requests. 2013-08-22 10:52:04 -07:00
tools Validate that zuul-referenced jobs exist 2013-07-30 16:02:39 -07:00
.gitignore make maven versioning and deployment workflow similiar to python 2013-06-17 23:52:36 +00:00
.gitreview Rename CI to Infra in MANY MANY places. 2012-12-16 17:30:47 +00:00
install_jenkins_slave.sh Perform kernel upgrades on new Ubuntu servers. 2013-05-24 17:50:50 +00:00
install_modules.sh Load balance git requests. 2013-08-22 10:52:04 -07:00
install_puppet.sh Add support for Fedora 18 to install_puppet.sh. 2013-06-17 20:55:26 +00:00
Rakefile Additional puppet-lint formatting 2012-11-30 20:56:32 +00:00
README.md Fix documentation to reference manifests/site.pp 2013-01-07 20:11:14 +00:00
run_puppet.sh Give run_puppet.sh mode 755 2012-09-22 17:32:02 +00:00
setup.cfg Use Jenkins Job Builder to config ci-docs job. 2012-09-27 16:50:32 +00:00
setup.py Rename CI to Infra in MANY MANY places. 2012-12-16 17:30:47 +00:00
test.sh Pass sysadmins list into node defs. 2012-09-10 15:58:27 +00:00
tox.ini Use the new oslo.sphinx library for the doc theme 2013-07-22 11:50:39 -04:00

These are a set of puppet manifests and modules that are currently being used to manage the OpenStack Project infrastructure.

The main entry point is in manifests/site.pp.

In general, most of the modules here are designed to be able to be run either in agent or apply mode.

These puppet modules require puppet 2.7 or greater. Additionally, the site.pp manifest assumes the existence of hiera.

See http://ci.openstack.org for more information.