Cookstyle fixes

Signed-off-by: Tim Smith <tsmith@chef.io>
This commit is contained in:
Tim Smith 2017-01-17 23:51:50 -08:00
parent b002c919ad
commit fe19de29ce

View File

@ -19,11 +19,11 @@ node['postfix']['maps'].each do |type, maps|
package "postfix-#{type}" if %w(pgsql mysql ldap cdb).include?(type) package "postfix-#{type}" if %w(pgsql mysql ldap cdb).include?(type)
end end
if %w(pgsql mysql ldap memcache sqlite).include?(type) separator = if %w(pgsql mysql ldap memcache sqlite).include?(type)
separator = ' = ' ' = '
else else
separator = ' ' ' '
end end
maps.each do |file, content| maps.each do |file, content|
execute "update-postmap-#{file}" do execute "update-postmap-#{file}" do
command "postmap #{file}" command "postmap #{file}"