freetds

Puppet module for managing freetds

Centre for Ecology & Hydrology

ceh

15,200 downloads

11,653 latest version

4.0 quality score

Version information

  • 1.1.0 (latest)
  • 1.0.0
released Jun 9th 2016
This version is compatible with:
  • Ubuntu

Start using this module

Documentation

ceh/freetds — version 1.1.0 Jun 9th 2016

FreeTDS

Build Status

Overview

This is the freetds module. It installs the freetds driver and manages database connections which use it

Module Description

FreeTDS is a set of libraries for Unix and Linux which allow applications to natively talk to Microsoft SQL Server and Sybase databases. Anything which comunicates over the Tabular Data Stream protocol.

This module will install the freetds packages and manage odbcinst.ini file to register the driver. You can also specify the hostnames of database source which you which to connect to using freetds. This will create a system wide DSN which you can use during in your applications connection strings for database setups.

Setup

What FreeTDS affects

  • Installs the freetds-dev, freetds-bin and tdsodbc packages
  • Installs unixodbc and unixodbc-dev pacakges
  • Manages the /etc/freetds/freetds.conf file
  • Manages the /etc/odbcinst.ini file
  • Manages database entries in /etc/odbc.ini

Usage

Install the FreeTDS driver and register it

include freetds

Manage a dsn entry for for database.myorganisation.com

freetds::db { 'DatabaseDSN' :
  host => 'database.myorganisation.com',
}

Dependencies

This module requires puppetlabs/inifile for managing tds + odbc configuration files

Limitations

This module has been tested on ubuntu (12.04, 14.04) lts

Contributors

Christopher Johnson - cjohn@ceh.ac.uk