This repository was archived by the owner on Jun 11, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 188
188
# [*pid_file*]
189
189
# Path of pid file. Used by monitor
190
190
#
191
+ # [*socket*]
192
+ # Path to the mysql socket file. If set, will appear in .my.cnf
193
+ # Remember to duplicate in the server configuration.
194
+ #
191
195
# [*data_dir*]
192
196
# Path of application data directory. Used by puppi
193
197
#
261
265
$config_file_group = params_lookup( ' config_file_group' ),
262
266
$config_file_init = params_lookup( ' config_file_init' ),
263
267
$pid_file = params_lookup( ' pid_file' ),
268
+ $socket = params_lookup( ' socket' ),
264
269
$data_dir = params_lookup( ' data_dir' ),
265
270
$log_dir = params_lookup( ' log_dir' ),
266
271
$log_file = params_lookup( ' log_file' ),
Original file line number Diff line number Diff line change 113
113
$absent = false
114
114
$disable = false
115
115
$disableboot = false
116
+ $socket = ' '
116
117
117
118
# ## General module variables that can have a site or per module default
118
119
$monitor = false
Original file line number Diff line number Diff line change 2
2
3
3
[client]
4
4
password=
5
+ <% if scope.lookupvar('mysql::socket') != '' %> socket=<%= scope.lookupvar('mysql::socket') %> <% end %>
Original file line number Diff line number Diff line change 2
2
3
3
[client]
4
4
password=<%= scope.lookupvar('mysql::real_root_password') %>
5
+ <% if scope.lookupvar('mysql::socket') != '' %> socket=<%= scope.lookupvar('mysql::socket') %> <% end %>
You can’t perform that action at this time.
0 commit comments