Add recipe to set up PostgreSQL replication, rewrite kosmos-postgresql cookbook #163

Manually merged
raucao merged 17 commits from feature/160-postgres_replication into master 2020-05-14 13:10:37 +00:00
2 changed files with 0 additions and 4 deletions
Showing only changes of commit 84cb3de4a0 - Show all commits

View File

@ -57,8 +57,6 @@ postgresql_replicas.each do |replica|
access_user "replication"
access_addr "#{replica[:ipaddress]}/32"
access_method "md5"
# notification does not work, as postgresql_access always says the
# resource was already up to date
notifies :reload, "service[#{postgresql_service}]", :immediately
end

View File

@ -64,8 +64,6 @@ systemctl start #{postgresql_service}
access_user "replication"
access_addr "#{primary[:ipaddress]}/32"
access_method "md5"
# notification does not work, as postgresql_access always says the
# resource was already up to date
notifies :reload, "service[#{postgresql_service}]", :immediately
end