Merge "Implement git server HAP backend"

This commit is contained in:
Jenkins 2016-07-27 00:09:46 +00:00 committed by Gerrit Code Review
commit 258f63dc41
3 changed files with 21 additions and 1 deletions

View File

@ -36,7 +36,7 @@ pip_links:
# URL for the frozen internal openstack repo.
repo_server_port: 8181
openstack_repo_url: "http://{{ internal_lb_vip_address }}:{{ repo_server_port }}"
openstack_repo_git_url: "http://{{ internal_lb_vip_address }}:{{ repo_server_port }}/openstackgit"
openstack_repo_git_url: "git://{{ internal_lb_vip_address }}"
## kernel modules for specific group hosts
# :param name: name of the kernel module

View File

@ -27,6 +27,18 @@ haproxy_default_services:
- 192.168.0.0/16
- 172.16.0.0/12
- 10.0.0.0/8
- service:
haproxy_service_name: repo_git
haproxy_backend_nodes: "{{ groups['repo_all'] | default([]) }}"
haproxy_ssl: "{{ haproxy_ssl }}"
haproxy_port: 9418
haproxy_balance_type: tcp
haproxy_backend_options:
- tcp-check
haproxy_whitelist_networks:
- 192.168.0.0/16
- 172.16.0.0/12
- 10.0.0.0/8
- service:
haproxy_service_name: repo_all
haproxy_backend_nodes: "{{ groups['repo_all'] | default([]) }}"

View File

@ -0,0 +1,8 @@
---
upgrade:
- Haproxy has a new backend to support using the repo
server nodes as a git server. The new backend
is called "repo_git" and uses port "9418".
Default ACLs have been created to lock down the port's
availability to only internal networks originating from
an RFC1918 address.