odbc_data_source

This module adds a ODBC System DSN for a MS SQL 2008 or 2012 database.

gee

garfieldmoore

7,169 downloads

5,977 latest version

4.3 quality score

Version information

  • 1.0.0 (latest)
  • 0.1.0
  • 0.0.8
  • 0.0.7
  • 0.0.6
  • 0.0.5
  • 0.0.4
  • 0.0.3
  • 0.0.2
  • 0.0.1
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
  • Windows

Start using this module

Tags: odbc, dsn

Documentation

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.