Skip to content

Commit

Permalink
Merge pull request #72 from criteo-cookbooks/fix_mariadb_vars
Browse files Browse the repository at this point in the history
fix mariadb template not having some vars
  • Loading branch information
Anthony Iheoma authored Feb 19, 2020
2 parents 2e9b2df + bd702ad commit 23ea13d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
long_description 'This cookbook installs and configure LibreNMS along with the required components (Apache and MySQL). LibreNMS is an autodiscovering PHP/MySQL-based network monitoring system.'
issues_url 'https://github.com/criteo-cookbooks/librenms/issues'
source_url 'https://github.com/criteo-cookbooks/librenms'
version '0.2.26'
version '0.2.27'
supports 'centos7'
supports 'centos'
depends 'apache2'
Expand Down
6 changes: 4 additions & 2 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,10 @@
group 'root'
mode '0644'
variables(
bind_address: node['mariadb']['bind_address'],
max_connections: node['mariadb']['max_connections'],
bind_address: node['mariadb']['bind_address'],
max_connections: node['mariadb']['max_connections'],
max_connect_errors: node['mariadb']['max_connect_errors'],
wait_timeout: node['mariadb']['wait_timeout'],
)
notifies :restart, 'service[mariadb]'
end
Expand Down

0 comments on commit 23ea13d

Please sign in to comment.