diff --git a/cookbooks/firewall/templates/host-mezuro/iptables-filter.erb b/cookbooks/firewall/templates/host-mezuro/iptables-filter.erb index 24f520a..af40b47 100644 --- a/cookbooks/firewall/templates/host-mezuro/iptables-filter.erb +++ b/cookbooks/firewall/templates/host-mezuro/iptables-filter.erb @@ -1,2 +1,3 @@ # Allow mezuro connect to HTTP --A INPUT -s <%= node['peers']['integration'] %> -p tcp -m state --state NEW -m multiport --dports 8082 -j ACCEPT +-A INPUT -s <%= node['peers']['integration'] %> -p tcp -m state --state NEW --dport 83 -j ACCEPT +-A INPUT -s <%= node['peers']['integration'] %> -p tcp -m state --state NEW --dport 82 -j ACCEPT diff --git a/cookbooks/postgresql/templates/centos/pg_hba.conf.erb b/cookbooks/postgresql/templates/centos/pg_hba.conf.erb index 9cc370c..b845543 100644 --- a/cookbooks/postgresql/templates/centos/pg_hba.conf.erb +++ b/cookbooks/postgresql/templates/centos/pg_hba.conf.erb @@ -13,6 +13,6 @@ host noosfero noosfero <%= node['peers']['social'] %>/32 trust host noosfero colab <%= node['peers']['integration'] %>/32 trust host kalibro_processor kalibro_processor <%= node['peers']['mezuro'] %>/32 trust -host kalibro_configurations kalibro_configurations <%= node['peers']['integration'] %>/32 trust +host kalibro_configurations kalibro_configurations <%= node['peers']['mezuro'] %>/32 trust host prezento prezento <%= node['peers']['integration'] %>/32 trust diff --git a/roles/integration_server.rb b/roles/integration_server.rb index f56d2fa..032eb10 100644 --- a/roles/integration_server.rb +++ b/roles/integration_server.rb @@ -13,6 +13,5 @@ run_list *[ 'recipe[colab]', 'recipe[colab::nginx]', 'recipe[backup]', - 'recipe[mezuro::kalibro_configurations]', 'recipe[mezuro::prezento]' ] diff --git a/roles/mezuro_server.rb b/roles/mezuro_server.rb index db5eb59..6a66ff1 100644 --- a/roles/mezuro_server.rb +++ b/roles/mezuro_server.rb @@ -1,3 +1,6 @@ name 'mezuro_server' description 'Mezuro server' -run_list 'recipe[mezuro::kalibro_processor]' +run_list *[ + 'recipe[mezuro::kalibro_processor]', + 'recipe[mezuro::kalibro_configurations]' +] -- libgit2 0.21.2