summaryrefslogtreecommitdiff
path: root/puppet/modules/site_postfix/templates
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-08-31 12:22:56 -0700
committerelijah <elijah@riseup.net>2015-08-31 12:22:56 -0700
commitbe8f7335cc273f85a1949557962dd65d88548679 (patch)
tree4fd4fdbed428f62358c1e930722f0b02a66b294b /puppet/modules/site_postfix/templates
parent4f42910a6792ec3016aa6f9d0792801f75972a62 (diff)
parentb5fbda1ca3832043e1636ee964a806ff222cb05f (diff)
Merge branch 'feature/mxalias' into develop
Diffstat (limited to 'puppet/modules/site_postfix/templates')
-rw-r--r--puppet/modules/site_postfix/templates/custom-aliases.erb11
1 files changed, 11 insertions, 0 deletions
diff --git a/puppet/modules/site_postfix/templates/custom-aliases.erb b/puppet/modules/site_postfix/templates/custom-aliases.erb
new file mode 100644
index 00000000..f261514b
--- /dev/null
+++ b/puppet/modules/site_postfix/templates/custom-aliases.erb
@@ -0,0 +1,11 @@
+#
+# This file is managed by puppet.
+#
+# This is a map of custom, non-standard aliases. The contents of this file
+# are derived from the node property `mx.aliases`.
+#
+
+<%- @aliases.keys.sort.each do |from| -%>
+"<%= from %>": "<%= [@aliases[from]].flatten.join('", "') %>"
+<%- end -%>
+