Skip to content

Commit

Permalink
Merge pull request #126 from JCotton1123/fix/skip-name-resolve
Browse files Browse the repository at this point in the history
Add support for configuring skip-name-resolve
  • Loading branch information
mjuszczak authored Nov 18, 2016
2 parents 3794a34 + c8a0a4a commit 30d2614
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
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 @@ -57,6 +57,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

0 comments on commit 30d2614

Please sign in to comment.