Cookstyle fixes
Signed-off-by: Tim Smith <tsmith@chef.io>
This commit is contained in:
parent
b002c919ad
commit
fe19de29ce
@ -19,11 +19,11 @@ node['postfix']['maps'].each do |type, maps|
|
||||
package "postfix-#{type}" if %w(pgsql mysql ldap cdb).include?(type)
|
||||
end
|
||||
|
||||
if %w(pgsql mysql ldap memcache sqlite).include?(type)
|
||||
separator = ' = '
|
||||
else
|
||||
separator = ' '
|
||||
end
|
||||
separator = if %w(pgsql mysql ldap memcache sqlite).include?(type)
|
||||
' = '
|
||||
else
|
||||
' '
|
||||
end
|
||||
maps.each do |file, content|
|
||||
execute "update-postmap-#{file}" do
|
||||
command "postmap #{file}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user