Defined Type: postfix::master
- Defined in:
- manifests/master.pp
Overview
Define additional Postfix services.
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'manifests/master.pp', line 25
define postfix::master (
String $command,
Pattern[/(?x) ^ [^\/]+ \/ (?:inet|unix(?:-dgram)?|fifo|pass) $/] $service = $title,
Enum['present', 'absent'] $ensure = 'present',
Optional[Enum['-', 'n', 'y']] $private = undef,
Optional[Enum['-', 'n', 'y']] $unprivileged = undef,
Optional[Enum['-', 'n', 'y']] $chroot = undef,
Optional[Pattern[/(?x) ^ (?: - | \d+ [?]? ) $/]] $wakeup = undef,
Optional[Pattern[/(?x) ^ (?: - | \d+ ) $/]] $limit = undef,
) {
include postfix
postfix_master { $service:
ensure => $ensure,
command => $command,
private => $private,
unprivileged => $unprivileged,
chroot => $chroot,
wakeup => $wakeup,
limit => $limit,
target => "${postfix::conf_dir}/master.cf",
require => Class['postfix::config'],
notify => Class['postfix::service'],
}
}
|