From f30de60edfbaaa5f4d91d6fc9660291fe6e71484 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sat, 4 Apr 2009 23:45:32 +0100 Subject: [PATCH] Ship exim ssl certs Signed-off-by: Stephen Gran --- modules/exim/manifests/init.pp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/modules/exim/manifests/init.pp b/modules/exim/manifests/init.pp index d5c679ac2..2233da945 100644 --- a/modules/exim/manifests/init.pp +++ b/modules/exim/manifests/init.pp @@ -10,6 +10,13 @@ class exim { mode => 755, purge => true ; + "/etc/exim4/ssl": + ensure => directory, + owner => root, + group => Debian-exim, + mode => 750, + purge => true + ; "/etc/exim4/exim4.conf": source => [ "puppet:///exim/per-host/$fqdn/exim4.conf", "puppet:///exim/common/exim4.conf" ], @@ -85,6 +92,20 @@ class exim { require => Package["exim4-daemon-heavy"], content => template("exim-local-auto.erb") ; + "/etc/exim4/ssl/thishost.crt": + require => Package["exim4-daemon-heavy"], + source => "puppet:///exim/certs/$fqdn.crt" + owner => root, + group => Debian-exim, + mode => 640, + ; + "/etc/exim4/ssl/thishost.key": + require => Package["exim4-daemon-heavy"], + source => "puppet:///exim/certs/$fqdn.key" + owner => root, + group => Debian-exim, + mode => 640, + ; } exec { "exim4 reload": -- 2.20.1