/puppet-postfix

Puppet postfix module

Primary LanguageRubyApache License 2.0Apache-2.0

Postfix Puppet Module

Puppet Forge Version Puppet Forge Downloads Build Status Gemnasium By Camptocamp

This module requires Augeas.

Simple usage

include postfix

postfix::config { "relay_domains": value  => "localhost host.foo.com" }

Exec paths

In order to not have any path problem, you should add the following line in some globally included .pp file:

Exec {
  path => '/some/relevant/path:/some/other:...',
}

For example:

Exec {
  path => '/bin:/sbin:/usr/sbin:/usr/bin',
}

Classes

postfix

The top-level class, to install and configure Postfix.

Definitions

postfix::config

Add/alter/remove options in Postfix main configuration file (main.cf)

postfix::hash

Creates Postfix hashed "map" files, and build the corresponding db file.

postfix::transport

Manages content in the transport map.

postfix::virtual

Manages content in the virtual map.