Commit 496667f7 authored by Gabriel Mazetto's avatar Gabriel Mazetto 🕵🏻
Browse files

Re-define default patroni node values dependent on user configuration values

parent eff8066b
......@@ -14,6 +14,9 @@
# limitations under the License.
#
 
# Re-define default values to recover any custom configuration provided by the user
node.default['patroni']['replication_user'] = node['postgresql']['sql_replication_user']
patroni_config_file = "#{node['patroni']['dir']}/patroni.yaml"
dcs_config_file = "#{node['patroni']['dir']}/dcs.yaml"
 
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment