ODBC Cookbook
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
attributes
recipes
CHANGELOG.md
README.md
metadata.rb

README.md

odbc Cookbook

Installs and configured unixODBC. Optionally install a set of drivers

Requirements

Attributes

odbc::source

Key Type Description Default
['odbc']['drivers'] Array List of optional drivers to install. Includes :microsoft, :freetds, :postgresql, :mysql []
['odbc']['source']['version'] String unixODBC version to install from source 2.3.0
['odbc']['source']['url'] String unixODBC remote url base ftp://ftp.unixodbc.org/pub/unixODBC
['odbc']['source']['cppflags'] String Additional CPPFLAGS used when compiling -DSIZEOF_LONG_INT=8

odbc::drivers

Microsoft ODBC Driver 11
Key Type Description Default
['odbc']['driver']['microsoft']['source_url'] String Base url for odbc driver https://s3-us-west-2.amazonaws.com/metasphere/odbc/drivers/microsoft/RHEL#{node['platform_version'].to_i}/msodbcsql-11.0.2270.0.tar.gz

Usage

odbc::source

Just include odbc::source in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[odbc::source]"
  ]
}

odbc::source

Just include odbc::drivers in your node's run_list and pass an array of acceptable drivers as symbols:

{
  "name":"my_node",
  "run_list": [
    "recipe[odbc::drivers]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Authors: Justin Schneck