Initial Chef repository
This commit is contained in:
13
cookbooks/postfix/templates/default/main.cf.erb
Normal file
13
cookbooks/postfix/templates/default/main.cf.erb
Normal file
@@ -0,0 +1,13 @@
|
||||
###
|
||||
# Generated by Chef for <%= node['fqdn'] %>
|
||||
# Configured as <%= node['postfix']['mail_type'] %>
|
||||
###
|
||||
|
||||
<% @settings.sort.map do |key, value| -%>
|
||||
<% next if value.nil? -%>
|
||||
<% if value.kind_of? Array -%>
|
||||
<%= "#{key} = #{value.join(', ')}"%>
|
||||
<% else -%>
|
||||
<%= "#{key} = #{value}"%>
|
||||
<% end -%>
|
||||
<% end -%>
|
||||
Reference in New Issue
Block a user