diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-11-10 11:20:30 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-11-10 11:20:30 -0200 |
commit | 68b52e165e0a76c9fe8c1fef825fac49f5ec73fb (patch) | |
tree | b6546c7bfe950d97ab3b4ee54e65a7ed20930c08 /manifests | |
parent | 56314de3a88a634634bf895484e28539a830ba52 (diff) | |
download | puppet-exim-68b52e165e0a76c9fe8c1fef825fac49f5ec73fb.tar.gz puppet-exim-68b52e165e0a76c9fe8c1fef825fac49f5ec73fb.tar.bz2 |
Adding $exim_tls_verify_relay_to_domains
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index d5c9d69..7b047e2 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -76,6 +76,7 @@ class exim::disabled inherits exim { } } +# See http://www.exim.org/exim-html-current/doc/html/spec_html/ch39.html class exim::tls inherits exim { file { "/etc/exim4/conf.d/router/195_exim4_config_tls_verify": ensure => present, @@ -94,4 +95,16 @@ class exim::tls inherits exim { source => "puppet:///modules/exim/30_exim4-config_remote_smtp_tls_verify", notify => Service["exim4"], } + + file { '/etc/exim4/conf.d/main/00_local_settings': + ensure => $exim_tls_verify_relay_to_domains ? { + '' => absent, + default => $exim_tls_verify_relay_to_domains, + }, + owner => root, + group => root, + mode => 0644, + content => "$exim_tls_verify_relay_to_domains\n", + notify => Service["exim4"], + } } |