Module postfix
In: /modules/postfix/manifests/file.pp
/modules/postfix/manifests/dbfile.pp
/modules/postfix/manifests/server.pp

postfix

# Overview

This module is meant for Red Hat Enterprise Linux and clones. It still requires some major clean up, but is currently fully functional.

  • `postfix::dbfile` : Manage Postfix DB configuration files
  • `postfix::file` : Manage flat text Postfix configuration files
  • `postfix::server` : Manage the main Postfix instance

Defines

dbfile   file  

Classes and Modules

Class postfix::server

Defines

dbfile( $source => 'undef', $postfixdir => '/etc/postfix', $group => 'root', $content => 'undef', $mode => '0644', $ensure => 'undef', $owner => 'root' )

define: postfix::dbfile

Parameters:

 $postfixdir:
   Directory where to manage the dbfile. Default: /etc/postfix
 $owner:
   The dbfile owner. Default: root
 $group:
   The dbfile group. Default: root
 $mode:
   The dbfile mode. Default: 0644
 $content:
   The dbfile content, typically from a template. Default: none
 $source:
   The dbfile source file. Default: none
 $ensure:
   The dbfile's presence. Use 'absent' to remove it. Default: present

Sample Usage :

  postfix::dbfile { 'virtual':
      source => 'puppet:///modules/mymodule/postfix/virtual',
  }
file( $source => 'undef', $postfixdir => '/etc/postfix', $group => 'root', $content => 'undef', $mode => '0644', $ensure => 'undef', $owner => 'root' )

Define: postfix::file

Install any flat postfix configuration file. See also postfix::dbfile.

Parameters:

 $postfixdir:
   Directory where to manage the dbfile. Default: /etc/postfix
 $owner:
   The dbfile owner. Default: root
 $group:
   The dbfile group. Default: root
 $mode:
   The dbfile mode. Default: 0644
 $content:
   The dbfile content, typically from a template. Default: none
 $source:
   The dbfile source file. Default: none
 $ensure:
   The dbfile's presence. Use 'absent' to remove it. Default: present

Sample Usage :

  postfix::file { 'header_checks':
      source => 'puppet:///modules/mymodule/postfix/header_checks',
  }

[Validate]