Tested with Travis CI
- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with sasl
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
This module manages Cyrus SASL.
This module can install per-application SASL configuration, automatically pulling in any additional packages to provide the required authentication methods. It can also manage saslauthd if that is the chosen mechanism along with its own configuration options.
- The package(s) containing SASL support.
- The service controlling the saslauthd daemon.
- Any per-application configuration.
include ::sasl
Parameters within sasl
:
Parameters within sasl::authd
:
Parameters within sasl::application
:
To configure Postfix for DIGEST-MD5 and CRAM-MD5 authentication using the sasldb backend:
include ::sasl
::sasl::application { 'smtpd':
pwcheck_method => 'auxprop',
auxprop_plugin => 'sasldb',
mech_list => ['digest-md5', 'cram-md5'],
}
To configure Postfix for PLAIN and LOGIN authentication using the saslauthd backend which itself is using LDAP+STARTTLS:
include ::sasl
class { '::sasl::authd':
mechanism => 'ldap',
ldap_auth_method => 'bind',
ldap_search_base => 'ou=people,dc=example,dc=com',
ldap_servers => ['ldap://ldap.example.com'],
ldap_start_tls => true,
ldap_tls_cacert_dir => '/etc/pki/tls/certs',
ldap_tls_ciphers => 'AES256',
}
::sasl::application { 'smtpd':
pwcheck_method => 'saslauthd',
mech_list => ['plain', 'login'],
}
sasl
: Main class for installing base SASL library.sasl::authd
: Main class for handlingsaslauthd
daemon.
sasl::config
: Handles base SASL library configuration.sasl::install
: Handles base SASL library installation.sasl::params
: Different configuration data for different systems.sasl::authd::config
: Handles saslauthd configuration.sasl::authd::install
: Handles saslauthd installation.sasl::authd::service
: Handles starting the saslauthd daemon.
sasl::application
: Handles installing per-application configuration and installing any additional packages for the desired authentication methods.
This module has been built on and tested against Puppet 3.0 and higher.
The module has been tested on:
- RedHat/CentOS Enterprise Linux 6/7
- Ubuntu 12.04/14.04
- Debian 6/7
It should also probably work on:
- Fedora 19/20 (need vagrant boxes for tests)
Testing on other platforms has been light and cannot be guaranteed.
Please log issues or pull requests at github.