Skip to content
Snippets Groups Projects
Commit b1bf27f4 authored by Gabriel Mazetto's avatar Gabriel Mazetto
Browse files

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

parent 7e3ab27f
No related branches found
No related tags found
2 merge requests!20Configuration for Mercurial module policy,!18Draft: GitLab 13.5
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment