[pagure] 1. Make sure you do a git pull in the right directory. git rebase sucks. 2. Un hard code pagure.cfg configs. 3.Make it so rdu-cc has a resolv.conf so it doesnt default to phx2
This commit is contained in:
parent
75c12e400f
commit
62ab6c0719
2 changed files with 4 additions and 4 deletions
|
@ -16,7 +16,7 @@ eth0_ipv6: "2620:52:3:1:dead:beef:cafe:fed3"
|
|||
eth0_ipv6_gw: "2620:52:3:1:ffff:ffff:ffff:fffe"
|
||||
|
||||
vmhost: virthost-cc-rdu02.fedoraproject.org
|
||||
datacenter: rdu
|
||||
datacenter: rdu-cc
|
||||
|
||||
#
|
||||
# PostgreSQL configuration
|
||||
|
|
|
@ -78,10 +78,10 @@ GIT_URL_GIT = 'https://pagure.io/'
|
|||
{% endif %}
|
||||
|
||||
### The IP addresses allowed for the internal endpoints
|
||||
{% if env == 'pagure-staging' %}
|
||||
IP_ALLOWED_INTERNAL = ['127.0.0.1', 'localhost', '::1', '140.211.169.203', '2605:bc80:3010:600:dead:beef:cafe:fed7']
|
||||
{% if hostvars[host]['eth0_ipv6'] %}
|
||||
IP_ALLOWED_INTERNAL = ['127.0.0.1', 'localhost', '::1', {{ hostvars[host]['eth0_ip'] }} , {{ hostvars[host]['eth0_ipv6'] }}]
|
||||
{% else %}
|
||||
IP_ALLOWED_INTERNAL = ['127.0.0.1', 'localhost', '::1', '140.211.169.204', '2605:bc80:3010:600:dead:beef:cafe:fed8']
|
||||
IP_ALLOWED_INTERNAL = ['127.0.0.1', 'localhost', '::1', {{ hostvars[host]['eth0_ip'] }}]
|
||||
{% endif %}
|
||||
|
||||
# Redis configuration
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue