]> gitweb.fluxo.info Git - puppet-mail.git/commitdiff
DKIM ownership
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 8 Mar 2015 16:14:18 +0000 (13:14 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 8 Mar 2015 16:14:18 +0000 (13:14 -0300)
manifests/opendkim/key.pp

index f4bd353c77e9c2327a3b52558ae9712718493360..32561f32ac147ae0254b8cca400aee9b542955cd 100644 (file)
@@ -8,7 +8,7 @@ define mail::opendkim::key() {
   }
 
   exec { "opendkim-genkey-${name}":
-    command => "opendkim-genkey -b 2048 -s mail -d ${name}",
+    command => "opendkim-genkey -b 2048 -s mail -d ${name} && chown opendkim.opendkim mail.private",
     cwd     => "/etc/opendkim/keys/${name}",
     user    => root,
     group   => root,