Forge Home

odbc_data_source

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

9,046 downloads

7,190 latest version

4.3 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 1.0.0 (latest)
  • 0.1.0
  • 0.0.8
  • 0.0.7
  • 0.0.6 (deleted)
  • 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

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'garfieldmoore-odbc_data_source', '1.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add garfieldmoore-odbc_data_source
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install garfieldmoore-odbc_data_source --version 1.0.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
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.