
We use the Ctx.Req object's RemoteAddr value as it should include the IP:port combo according to https://golang.org/pkg/net/http/#Request. The default template uses Ctx.RemoteAddr which Macaron attempts to parse for x-forwarded-for values but this has the problem of stripping out any port info. The port info is important for us because we are doing layer 4 load balancing and not http l7 load balancing. That means the ip:port mappings are necessary to map between haproxy and gitea logs. Change-Id: Icea0d3d815c9d8dd2afe2b1bae627510c1d76f99
Puppet Modules
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://docs.openstack.org/infra/system-config for more information.
Documentation
The documentation presented at http://docs.openstack.org/infra/system-config comes from https://opendev.org/opendev/system-config repo's docs/source. To build the documentation use
tox -evenv python setup.py build_sphinx
Description
Languages
Python
37.2%
Jinja
36.7%
Shell
13.5%
Dockerfile
3.8%
JavaScript
3%
Other
5.8%