Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

mysql_connector (7) Versions 0.8.1

Recipes/LWRPs for installing MySQL Connectors.

Berkshelf/Librarian
Policyfile
Knife
cookbook 'mysql_connector', '~> 0.8.1'
cookbook 'mysql_connector', '~> 0.8.1', :supermarket
knife cookbook site install mysql_connector
knife cookbook site download mysql_connector
README
Dependencies
Changelog
Quality

chef-mysql_connector Build Status

Description

Recipes/LWRPs for installing MySQL Connectors.

Requirements

Chef

  • Chef 11+ is required for version 0.6.0+ of this cookbook

Platforms

  • CentOS 5+
  • Fedora 17+
  • RedHat 5+
  • Ubuntu 10.04+

Attributes

These attributes are under the node['mysql_connector']['j'] namespace.

Attribute Description Type Default
checksum SHA256 checksum for MySQL Connector/J String auto-detected or will log WARN
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 auto-detected between http://cdn.mysql.com/Downloads/Connector-J/#{tar_file} and http://cdn.mysql.com/archives/mysql-connector-java-5.1/#{tar_file}
version Version of MySQL Connector/J to install String 5.1.36

Recipes

  • recipe[mysql_connector] empty recipe for including LWRPs
  • recipe[mysql_connector::j] will install MySQL Connector/J from attribute

Usage

MySQL Connector/J installation via attribute

  • Add installation paths to node['mysql_connector']['j']['install_paths'] array
  • Include recipe[mysql_connector::j] in your node's run list

MySQL Connector/J installation via LWRP

  • Add depends 'mysql_connector' to your cookbook metadata
  • Add to recipe:
mysql_connector_j '/path/to/install/location'

Testing and Development

  • Quickly testing with Vagrant: VAGRANT.md
  • Full development and testing workflow with Test Kitchen and friends: TESTING.md

Contributing

Please see contributing information in: CONTRIBUTING.md

Maintainers

License

Please see licensing information in: LICENSE

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

bamboo Applicable Versions
chef_jira Applicable Versions
confluence Applicable Versions
crowd Applicable Versions
jira Applicable Versions
stash Applicable Versions

0.8.1

  • Bugfix: Correctly handle testing both latest and archives URLs
  • Bugfix: Revert ark dependency
  • Enhancement: Add J 5.0.8 checksum

0.8.0

Please note: this release is broken - use a newer version.

  • Enhancement: #13: Use the archive_url for all downloads
    • Also switches back to using ark dependency for simplicity

0.7.4

  • Update J default version to 5.1.36

0.7.3

  • Update J default version to 5.1.34

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

0.7.0

  • Enhancement: Update J default version to 5.1.29

0.6.0

  • Enhancement: New node['mysql_connector']['j']['archive_url'] attribute and fallback to archive URL downloading (once remote_file actually skips 404's)
  • Enhancement: Checksum attribute auto-detection
  • Enhancement: Update J default version to 5.1.28

0.5.1

  • Bugfix: [GH-3] No action remote_file mysql-connector-java-x.x.x.tar.gz

0.5.0

  • Version bump to add metadata supports amazon, centos, fedora, scientific, ubuntu

v0.4.1

  • Updated J default version to 5.1.26

v0.4.0

  • Updated J default version to 5.1.24

v0.3.1

  • Fix for J jar extraction

v0.3.0

  • Workaround MySQL Connector/J .tar.gz now including extra directory in archive
  • ark is no longer a dependency because of J workaround
  • Added attribute node['mysql_connector']['j']['jar_file']
  • Added attribute node['mysql_connector']['j']['tar_file']

v0.2.1

  • Bumped J version to 5.1.22

v0.2.0

  • Added mysql_connector::j recipe

v0.1.0

  • Initial release with MySQL Connector/J LWRP.

Collaborator Number Metric
            

0.8.1 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.8.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.8.1 failed this metric

FC059: LWRP provider does not declare use_inline_resources: mysql_connector/providers/j.rb:1
FC074: LWRP should use DSL to define resource's default action: mysql_connector/resources/j.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.8.1 passed this metric

No Binaries Metric
            

0.8.1 passed this metric

Publish Metric
            

0.8.1 passed this metric

Supported Platforms Metric
            

0.8.1 passed this metric

Testing File Metric
            

0.8.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.8.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number