Defined Type: postfix::main
- Defined in:
- vendor_modules/postfix/manifests/main.pp
Overview
Define additional Postfix settings.
Any settings not (yet) implemented in the main class or per-transport settings can be defined here.
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'vendor_modules/postfix/manifests/main.pp', line 20
define postfix::main (
String $value,
String $setting = $title,
Enum['present', 'absent'] $ensure = 'present',
) {
include postfix
postfix_main { $setting:
ensure => $ensure,
value => $value,
target => "${postfix::conf_dir}/main.cf",
require => Class['postfix::config'],
notify => Class['postfix::service'],
}
}
|