fuel-library/deployment/puppet/osnailyfacter/templates/mysql.access.cnf.erb
Alex Schultz 29fd2548dc Remove extra space from my.cnf to fix idempotency
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
2016-03-01 15:21:33 +00:00

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 %>