Puppet Class: postfix::mynetworks

Defined in:
manifests/mynetworks.pp

Summary

manage the mynetworks table

Overview

Examples:

Basic usage


class { 'postfix::mynetworks': }
postfix::mynetworks::row { '123.234.234': }

Parameters:

  • type (Any) (defaults to: 'hash')

    By default uses an hash type table.

    You may want to change this to ‘cidr’.



13
14
15
16
17
18
19
20
21
22
23
24
# File 'manifests/mynetworks.pp', line 13

class postfix::mynetworks (
  # you may want to switch to cidr
  $type = 'hash',
) {
  $etc_dir = $::postfix::install::etc_dir
  $path = "${etc_dir}/mynetworks"

  postfix::postmap { $path:
    description => 'postfix mynetworks table',
    type        => $type,
  }
}