29fd2548dc
The upstream galera module creates the .my.cnf to use when setting up galera but it checks for the password existing in the file without a space between password and the value. This change removes the extra spaces between the values to satisfy the check condition and prevent the .my.cnf from being overwritten each time the database task is run. Change-Id: I70764c46a1962e6c7123b75b4b6d5b2e0f27c006 Related-Blueprint: granular-task-idempotency
7 lines
179 B
Plaintext
7 lines
179 B
Plaintext
<%- %w(mysql client mysqldump mysqladmin mysqlcheck).each do |section| %>
|
|
[<%= section %>]
|
|
user='<%= @db_user %>'
|
|
password='<%= @db_password %>'
|
|
host='<%= @db_host %>'
|
|
<%- end %>
|