COOK-733: added postfix::aliases recipe to manage /etc/aliases

Signed-off-by: jtimberman <joshua@opscode.com>
This commit is contained in:
Alex Soto
2011-09-01 08:32:26 -07:00
committed by jtimberman
parent e5b8679dae
commit 2892a51af7
3 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
# See man 5 aliases for format
postmaster: root
<% @node[:postfix][:aliases].each do |name, value| %>
<%= name %>: "<%= value %>"
<% end unless @node[:postfix][:aliases].nil? %>