Configure and manage Unix ODBC settings
include ::odbc
odbc::driver { 'MySQL'
package_name => 'mysql-connector-odbc',
package_ensure => '5.1.5r1144',
override_settings => true,
description => 'MySQL 5.1',
driver => '/usr/lib64/libmyodbc5.so'
}
odbc::datasource::generic { 'somedb':
description => 'ODBC access to somedb',
driver => 'MySQL 5.1',
database => 'somedb',
servername => 'localhost',
username => 'app_someapp',
password => 'asdzdgjz5ua5ya'
read_only => true
}
Main class that handles the generic Unix ODBC setup.
Define an ODBC driver.
Define a custom system ODBC datasource.
Define a generic system ODBC datasource.
Define an Oracle system ODBC datasource.
- Better documentation ;)
- Tests