
In an effort to support customizing E-mail aliases per server, allow a hash of aliases to be passed into the /etc/aliases template. While we're here, remove the custom gerrit2 and jenkins aliases since those can now be set individually on servers where they actually matter rather than unnecessarily setting them everywhere. Change-Id: I2911f157812c127a514196ae58b7609378d7d4e4
22 lines
342 B
Plaintext
22 lines
342 B
Plaintext
# /etc/aliases
|
|
<% @extra_aliases.each do |key,value| -%>
|
|
<%= key %>: <%= value %>
|
|
<% end -%>
|
|
|
|
mailer-daemon: postmaster
|
|
postmaster: root
|
|
nobody: root
|
|
hostmaster: root
|
|
usenet: root
|
|
news: root
|
|
webmaster: root
|
|
www: root
|
|
ftp: root
|
|
abuse: root
|
|
noc: root
|
|
security: root
|
|
|
|
<% if @sysadmins.length > 0 -%>
|
|
root: <%= @sysadmins.join(",") %>
|
|
<% end -%>
|