odbc_data_source
This module adds a ODBC System DSN for a MS SQL 2008 or 2012 database.
Version information
released Aug 16th 2016
This version is compatible with:
- Puppet Enterprise 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
- Puppet >=3.2.0 < 5.0.0
Start using this module
Add this module to your Puppetfile:
mod 'garfieldmoore-odbc_data_source', '1.0.0'
Learn more about managing modules with a PuppetfileDocumentation
garfieldmoore/odbc_data_source — version 1.0.0 Aug 16th 2016
Microsoft SQL ODBC System DSN puppet module.
This module creates ODBC System DSN's for MS SQL 2005, 2008 or 2012 database. It is possible to create multiple DSN's per node.
This has been tested on Windows Server 2012.
Installation
Run this code on your puppet node using the Puppet Module Tool:
$ puppet module install garfieldmoore/odbc_data_source
This module depends on puppetlabs/registry >= 0.1.1
Usage
Example usage:
odbc_data_source::name{ 'vcenter':
db_name => 'vcdb',
db_server_ip => '102.168.10.34',
sql_version => '2012',
dsn_64bit => false,
user_id => 'gmoore',
trusted_connection =>'Yes'
}
See the examples for usage.
sql_version parameter options
Value | Driver |
---|---|
SQLServer | SQL Server - sqlserver32.dll |
2012 | SQL Server Native Client 11.0 - sqlncli11.dll |
2008 | SQL Server Native Client 10.0 - sqlncli10.dll |
SQLNativeClient | SQL Native Client - sqlncli.dll |
##Credits This module was based on the mssql_system_dsn project.
Dependencies
- puppetlabs/stdlib (>=4.2.0 < 5.0.0)