Skip to content
This repository has been archived by the owner on Dec 7, 2017. It is now read-only.
/ puppet-postfix Public archive

postfix module for puppet with multi-instance support

Notifications You must be signed in to change notification settings

credativ/puppet-postfix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puppet module: postfix

This is a puppet module for postfix based on the common credativ puppet modules layout (github.com/credativ/puppet-module-template)

Features

The module suupports:

  • Create a main.cf from a template with support for some of the most common options or copy the main.cf from a specified config_source

  • Initial creation of postfix instances (www.postfix.org/MULTI_INSTANCE_README.html)

  • Manage aliases

Usage

Most common use case for the module is to just include it and configure it in the hiera backend.

So including it via the following line of code or in a ENC declaration (apart from proper configuration in hiera or top-scope variables) is usually enough:

class { 'postfix': }

The module is able to create configuration itself, it just needs appropriate parameters. See the documentation for the main manifest for an explanation of the parameters.

Apart from this specifying a config_source works as well.

class { 'postfix':
    config_source => 'puppet:///files/foo/postfix.conf'
}