Forge Home

trac_ldap_sync

Setup trac-ldap-sync

5,546 downloads

5,546 latest version

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

Version information

  • 1.0.1 (latest)
released May 18th 2018
This version is compatible with:
  • Puppet Enterprise 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.0 < 6.0.0

Start using this module

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

Add this module to your Puppetfile:

mod 'puppetfinland-trac_ldap_sync', '1.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add puppetfinland-trac_ldap_sync
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install puppetfinland-trac_ldap_sync --version 1.0.1

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

Documentation

puppetfinland/trac_ldap_sync — version 1.0.1 May 18th 2018

puppet-trac_ldap_sync

A Puppet module for setting up trac-ldap-sync script which syncs emails from LDAP to the Trac database. The current version of that script is known to work on Trac 1.2.

Module usage

This class takes a bunch of parameters related to LDAP, PostgreSQL and SMTP:

class { '::trac_ldap_sync':
    hour              => 5,
    minute            => 15,
    db_name           => 'trac',
    db_user_name      => 'tracuser',
    db_user_password  => 'secret',
    ldap_host         => 'ldap.example.org',
    ldap_port         => 389,
    ldap_binddn       => 'cn=proxy,dc=example,dc=org',
    ldap_bindpw       => 'secret',
    ldap_user_basedn  => 'ou=People,dc=example,dc=org',
    source_email      => 'trac@example.org',
    target_email      => 'monitor@example.org',
}

Please refer to the main class for more details.