Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for configuring skip-name-resolve #126

Merged
merged 1 commit into from
Nov 18, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
default['mariadb']['mysqld']['lc_messages'] = 'en_US'
default['mariadb']['mysqld']['skip_external_locking'] = 'true'
default['mariadb']['mysqld']['skip_log_bin'] = 'false'
default['mariadb']['mysqld']['skip_name_resolve'] = 'false'
default['mariadb']['mysqld']['bind_address'] = '127.0.0.1'
default['mariadb']['mysqld']['max_connections'] = '100'
default['mariadb']['mysqld']['connect_timeout'] = '5'
Expand Down
3 changes: 3 additions & 0 deletions templates/default/my.cnf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ skip-external-locking
<% if node['mariadb']['mysqld']['skip_log_bin'] == 'true' -%>
skip-log-bin
<% end -%>
<% if node['mariadb']['mysqld']['skip_name_resolve'] == 'true' -%>
skip-name-resolve
<% end -%>
#
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
Expand Down