Herron has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/370487 )
Change subject: Add SPF and DKIM perl package requires to spamassassin class
......................................................................
Add SPF and DKIM perl package requires to spamassassin class
This will install perl dependencies (libmail-spf-perl libmail-dkim-perl)
of the SPF and DKIM plugins which are enabled in the configuration deployed by
puppet class spamassassin.
Fixes module not installed errors in spamassassin similar to:
dbg: diag: [...] module not installed: Mail::SPF ('require' failed)
dbg: diag: [...] module not installed: Mail::DKIM ('require' failed)
Bug: T172689
Bug: T172299
Change-Id: Ic4ce8c45fa9a1f013a94a8a4d06579b1fc7da544
---
M modules/spamassassin/manifests/init.pp
1 file changed, 9 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/87/370487/1
diff --git a/modules/spamassassin/manifests/init.pp
b/modules/spamassassin/manifests/init.pp
index a4ca43a..de2759d 100644
--- a/modules/spamassassin/manifests/init.pp
+++ b/modules/spamassassin/manifests/init.pp
@@ -63,6 +63,14 @@
ensure => present,
}
+ package { 'libmail-spf-perl':
+ ensure => present,
+ }
+
+ package { 'libmail-dkim-perl':
+ ensure => present,
+ }
+
file { '/etc/spamassassin/local.cf':
content => template('spamassassin/local.cf'),
owner => 'root',
@@ -84,7 +92,7 @@
require => [
File['/etc/default/spamassassin'],
File['/etc/spamassassin/local.cf'],
- Package['spamassassin'],
+ Package['spamassassin','libmail-spf-perl','libmail-dkim-perl'],
],
subscribe => [
File['/etc/default/spamassassin'],
--
To view, visit https://gerrit.wikimedia.org/r/370487
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic4ce8c45fa9a1f013a94a8a4d06579b1fc7da544
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Herron <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits