Add a firewall rule to allow PostgreSQL clients to connect #269

Merged
greg merged 3 commits from bugfix/postgresql_client_firewall into master 2020-12-22 22:15:07 +00:00
Showing only changes of commit c700f98976 - Show all commits

View File

@ -64,6 +64,13 @@ postgresql_clients.each do |client|
access_method "md5"
notifies :reload, "service[#{postgresql_service}]", :immediately
end
firewall_rule "postgresql #{hostname}" do
port 5432
protocol :tcp
command :allow
source ip
end
end
postgresql_replicas.each do |replica|