We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7244f1f commit 21930afCopy full SHA for 21930af
mysql/recipes/server.rb
@@ -134,7 +134,7 @@
134
end
135
136
execute "mysql-install-privileges" do
137
- command "#{node['mysql']['mysql_bin']} -u root #{node['mysql']['server_root_password'].empty? ? '' : '-p' }#{node['mysql']['server_root_password']} < #{grants_path}"
+ command "#{node['mysql']['mysql_bin']} -u root #{node['mysql']['server_root_password'].empty? ? '' : '-p' }\"#{node['mysql']['server_root_password']}\" < #{grants_path}"
138
action :nothing
139
subscribes :run, resources("template[#{grants_path}]"), :immediately
140
0 commit comments