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)
|
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}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user