summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-03-08 13:14:18 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-03-08 13:14:18 -0300
commit654ecc62d685e6014a220b074445bdf7312a360d (patch)
treeff845b3abf05f9aa7392a13adf26939603cbde4f /manifests
parent2c3e2c08895b3dccd4ba283e1b5a3a5d1ea0511e (diff)
downloadpuppet-mail-654ecc62d685e6014a220b074445bdf7312a360d.tar.gz
puppet-mail-654ecc62d685e6014a220b074445bdf7312a360d.tar.bz2
DKIM ownership
Diffstat (limited to 'manifests')
-rw-r--r--manifests/opendkim/key.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/opendkim/key.pp b/manifests/opendkim/key.pp
index f4bd353..32561f3 100644
--- a/manifests/opendkim/key.pp
+++ b/manifests/opendkim/key.pp
@@ -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,