16 lines
292 B
Ruby
16 lines
292 B
Ruby
#
|
|
# Cookbook:: kosmos_postgresql
|
|
# Recipe:: replica_logical
|
|
#
|
|
|
|
postgresql_custom_server postgresql_version do
|
|
role "replica_logical"
|
|
end
|
|
|
|
# primary = postgresql_primary
|
|
#
|
|
# if primary.nil?
|
|
# Chef::Log.warn("No PostgreSQL primary node found. Skipping replication setup.")
|
|
# return
|
|
# end
|