view modules/mysql/templates/my.cnf.pass.erb @ 427:3744cd0807cb

Move PHP socket to /run/ My assumptions in f354100b688a were wrong and CentOS _will_ sometimes clean up /run, so we can't use sub-directories and altering the script is too much trouble when it assumes the dir will exist because its default one is packaged in the RPM
author IBBoard <dev@ibboard.co.uk>
date Sat, 15 Oct 2022 15:38:08 +0100
parents 668df4711671
children
line wrap: on
line source

### MANAGED BY PUPPET ###

<% %w(mysql client mysqldump mysqladmin mysqlcheck).each do |section| %>
[<%= section -%>]
user=root
host=localhost
<% if @root_password_set -%>
password='<%= @root_password %>'
<% end -%>
socket=<%= @options['client']['socket'] %>
<% end %>