Commit 45e692fcf9c175fc97a92a2e29f991824ce6164d
1 parent
23abc6b0
Exists in
mezuro_spb
Redoing all mezuro configurations
Showing
7 changed files
with
23 additions
and
17 deletions
Show diff stats
cookbooks/colab/recipes/default.rb
cookbooks/colab/templates/mezuro.py.erb
... | ... | @@ -5,7 +5,7 @@ name = 'colab_mezuro' |
5 | 5 | verbose_name = 'Mezuro Plugin' |
6 | 6 | |
7 | 7 | upstream = 'http://<%= node['peers']['integration'] %>:84/mezuro/' |
8 | -#middlewares = [] | |
8 | +middlewares = [] | |
9 | 9 | extra = {'processor_address' : 'http://<%= node['peers']['mezuro'] %>:82' , |
10 | 10 | 'configurations_address' : 'http://<%= node['peers']['mezuro'] %>:83'} |
11 | 11 | |
... | ... | @@ -14,19 +14,19 @@ urls = { |
14 | 14 | 'prefix': '^mezuro/', |
15 | 15 | } |
16 | 16 | |
17 | -#menu_title = _('Code Quality') | |
17 | +menu_title = _('Code Quality') | |
18 | 18 | |
19 | 19 | url = colab_url_factory('mezuro') |
20 | 20 | |
21 | -#menu_urls = ( | |
22 | -# url(display=_('Projects'), viewname='mezuro', | |
23 | -# kwargs={'path': 'projects'}, auth=False), | |
24 | -# url(display=_('Repositories'), viewname='mezuro', | |
25 | -# kwargs={'path': 'repositories'}, auth=False), | |
26 | -# url(display=_('Configurations'), viewname='mezuro', | |
27 | -# kwargs={'path': 'kalibro_configurations'}, auth=False), | |
28 | -# url(display=_('Reading Groups'), viewname='mezuro', | |
29 | -# kwargs={'path': 'reading_groups'}, auth=False), | |
30 | -#) | |
21 | +menu_urls = ( | |
22 | + url(display=_('Projects'), viewname='mezuro', | |
23 | + kwargs={'path': 'projects'}, auth=False), | |
24 | + url(display=_('Repositories'), viewname='mezuro', | |
25 | + kwargs={'path': 'repositories'}, auth=False), | |
26 | + url(display=_('Configurations'), viewname='mezuro', | |
27 | + kwargs={'path': 'kalibro_configurations'}, auth=False), | |
28 | + url(display=_('Reading Groups'), viewname='mezuro', | |
29 | + kwargs={'path': 'reading_groups'}, auth=False), | |
30 | +) | |
31 | 31 | |
32 | 32 | change_header = True | ... | ... |
cookbooks/firewall/templates/host-database/iptables-filter.erb
... | ... | @@ -2,6 +2,7 @@ |
2 | 2 | # Allow access to PostgreSQL |
3 | 3 | -A INPUT -s <%= node['peers']['integration'] %> -p tcp -m state --state NEW --dport 5432 -j ACCEPT |
4 | 4 | -A INPUT -s <%= node['peers']['social'] %> -p tcp -m state --state NEW --dport 5432 -j ACCEPT |
5 | +-A INPUT -s <%= node['peers']['mezuro'] %> -p tcp -m state --state NEW --dport 5432 -j ACCEPT | |
5 | 6 | |
6 | 7 | # Allow access to Redis |
7 | 8 | -A INPUT -s <%= node['peers']['integration'] %> -p tcp -m state --state NEW --dport 6379 -j ACCEPT | ... | ... |
cookbooks/postgresql/templates/centos/pg_hba.conf.erb
... | ... | @@ -12,7 +12,7 @@ host gitlab gitlab <%= node['peers']['integration'] %>/32 trust |
12 | 12 | host noosfero noosfero <%= node['peers']['social'] %>/32 trust |
13 | 13 | host noosfero colab <%= node['peers']['integration'] %>/32 trust |
14 | 14 | |
15 | -#host kalibro_processor kalibro_processor <%= node['peers']['mezuro'] %>/32 trust | |
16 | -#host kalibro_configurations kalibro_configurations <%= node['peers']['mezuro'] %>/32 trust | |
17 | -#host prezento prezento <%= node['peers']['integration'] %>/32 trust | |
15 | +host kalibro_processor kalibro_processor <%= node['peers']['mezuro'] %>/32 trust | |
16 | +host kalibro_configurations kalibro_configurations <%= node['peers']['mezuro'] %>/32 trust | |
17 | +host prezento prezento <%= node['peers']['integration'] %>/32 trust | |
18 | 18 | ... | ... |
nodes.yaml
roles/database_server.rb