Dzahn has submitted this change and it was merged.
Change subject: RT - add mail aliases
......................................................................
RT - add mail aliases
on the RT server, magnesium, exim is configured like
"# Use the system aliasfile /etc/aliases for system domains"
and rt.wikimedia.org is a system domain
in T675 for phabricator, we will want to be able to
redirect just some of the RT queues over to phab
but without redirecting them all
first i wanted to puppetize the entire /etc/aliases
but paravoid pointed out how there is the native puppet
type mailalias for that. so i'm using that.
the "ops-request"->"ops-requests" thing already exists
on the server like that. and the other redirect is to
test forwarding things to phabricator
later we will forward some queues over to phabricator
but not all of them at once
Bug: T675
Change-Id: I0f81033477188dae4821b8b25eb729078a4d83d2
---
A modules/requesttracker/manifests/aliases.pp
M modules/requesttracker/manifests/init.pp
2 files changed, 12 insertions(+), 0 deletions(-)
Approvals:
jenkins-bot: Verified
Dzahn: Looks good to me, approved
diff --git a/modules/requesttracker/manifests/aliases.pp
b/modules/requesttracker/manifests/aliases.pp
new file mode 100644
index 0000000..9c39817
--- /dev/null
+++ b/modules/requesttracker/manifests/aliases.pp
@@ -0,0 +1,11 @@
+class requesttracker::aliases {
+
+ mailalias { 'ops-request':
+ recipient => '[email protected]',
+ }
+
+ mailalias { 'phabricator':
+ recipient => '[email protected]',
+ }
+
+}
diff --git a/modules/requesttracker/manifests/init.pp
b/modules/requesttracker/manifests/init.pp
index e1c4ee7..ec60cd2 100644
--- a/modules/requesttracker/manifests/init.pp
+++ b/modules/requesttracker/manifests/init.pp
@@ -20,6 +20,7 @@
include requesttracker::config
include requesttracker::forms
include requesttracker::plugins
+ include requesttracker::aliases
class { 'requesttracker::apache':
apache_site => $apache_site,
--
To view, visit https://gerrit.wikimedia.org/r/168733
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I0f81033477188dae4821b8b25eb729078a4d83d2
Gerrit-PatchSet: 7
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
Gerrit-Reviewer: Andrew Bogott <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: Faidon Liambotis <[email protected]>
Gerrit-Reviewer: Jeremyb <[email protected]>
Gerrit-Reviewer: Jgreen <[email protected]>
Gerrit-Reviewer: John F. Lewis <[email protected]>
Gerrit-Reviewer: Matanya <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: Rush <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits