Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Merge pull request #10 from klamontagne/master
Browse files Browse the repository at this point in the history
Add J 5.1.31 checksum and default to it
  • Loading branch information
bflad committed Jun 17, 2014
2 parents e8b5453 + eb4ee86 commit 81cf4e6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.7.2

* Update J default version to 5.1.31

## 0.7.1

* Bugfix: Workaround remote_file not supporting 404's and utilize archive_url
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ install_paths | MySQL Connector/J installation paths | Array of Strings | []
jar_file | Filename of MySQL Connector/J .jar | String | `mysql-connector-java-#{node['mysql_connector']['j']['version']}-bin.jar`
tar_file | Filename of MySQL Connector/J .tar.gz | String | `mysql-connector-java-#{node['mysql_connector']['j']['version']}.tar.gz`
url | URL for MySQL Connector/J | String | `http://cdn.mysql.com/Downloads/Connector-J/mysql-connector-java-#{node['mysql_connector']['j']['version']}.tar.gz`
version | Version of MySQL Connector/J to install | String | 5.1.29
version | Version of MySQL Connector/J to install | String | 5.1.31

## Recipes

Expand Down
3 changes: 2 additions & 1 deletion attributes/default.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
default['mysql_connector']['j']['version'] = '5.1.29'
default['mysql_connector']['j']['version'] = '5.1.31'

default['mysql_connector']['j']['checksum'] =
case node['mysql_connector']['j']['version']
when '5.1.26' then 'fade4caa398c41f537d9b7bcaf83aabaa1eab1ef23c81de49979b5b04ba395bd'
when '5.1.27' then 'a00f8d1524ba211e6d714c23fe79735883bd38fb4c73aabc0706fe3e65221073'
when '5.1.28' then '93057e410ef5ae529e35ade6b517acbec41e30e2c3ecf08a891d1a2ef712337c'
when '5.1.29' then '04ad83b655066b626daaabb9676a00f6b4bc43f0c234cbafafac1209dcf1be73'
when '5.1.31' then '5a253a2aa8f06758c1901c3862402c69db601e9de456864ab1922955b225bba6'
end
default['mysql_connector']['j']['install_paths'] = []
default['mysql_connector']['j']['jar_file'] = "mysql-connector-java-#{node['mysql_connector']['j']['version']}-bin.jar"
Expand Down
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
maintainer_email '[email protected]'
license 'Apache 2.0'
description 'Recipes/LWRPs for installing MySQL Connectors.'
version '0.7.1'
version '0.7.2'
recipe 'mysql_connector', 'Empty recipe'
recipe 'mysql_connector::j', 'Installs MySQL Connector/J via attribute.'
recipe 'mysql_connector::odbc_package', 'Installs MySQL Connector/ODBC via package.'
Expand Down

0 comments on commit 81cf4e6

Please sign in to comment.