summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-11-09 23:04:48 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-11-09 23:04:48 -0200
commit56314de3a88a634634bf895484e28539a830ba52 (patch)
treecf64da3515b41844e1755f4bd72262e9676be212 /manifests
parent3e4f48e157688adc050c5fe00b6491344d596097 (diff)
downloadpuppet-exim-56314de3a88a634634bf895484e28539a830ba52.tar.gz
puppet-exim-56314de3a88a634634bf895484e28539a830ba52.tar.bz2
Adding exim::tls
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp20
1 files changed, 20 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 5a41e4d..d5c9d69 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -75,3 +75,23 @@ class exim::disabled inherits exim {
ensure => stopped,
}
}
+
+class exim::tls inherits exim {
+ file { "/etc/exim4/conf.d/router/195_exim4_config_tls_verify":
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 0644,
+ source => "puppet:///modules/exim/195_exim4_config_tls_verify",
+ notify => Service["exim4"],
+ }
+
+ file { "/etc/exim4/conf.d/transport/30_exim4-config_remote_smtp_tls_verify":
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 0644,
+ source => "puppet:///modules/exim/30_exim4-config_remote_smtp_tls_verify",
+ notify => Service["exim4"],
+ }
+}