Puppet Class: profile::mail::default_mail_relay
- Defined in:
- modules/profile/manifests/mail/default_mail_relay.pp
Overview
SPDX-License-Identifier: Apache-2.0
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'modules/profile/manifests/mail/default_mail_relay.pp', line 6
class profile::mail::default_mail_relay (
Boolean $enabled = lookup('profile::mail::default_mail_relay::enabled'),
String $template = lookup('profile::mail::default_mail_relay::template'),
Array[Stdlib::Fqdn] $smarthosts = lookup('profile::mail::default_mail_relay::smarthosts'),
Array[Stdlib::Fqdn] $mediawiki_smarthosts = lookup('profile::mail::default_mail_relay::mediawiki_smarthosts'),
) {
if $enabled {
class { 'exim4':
queuerunner => 'combined',
config => template($template),
}
profile::auto_restarts::service { 'exim4': }
}
}
|