# This file managed by Chef.

<% Array(node['sqlrelay']['odbcinst']['dsn']).each do |name, dsn| %>
[<%= name %>]
Description=<%= dsn['description'] %>
Driver=<%= dsn['driver'] %>
<% if dsn['api_level'] %>
APILevel=<%= dsn['api_level'] %>
<% end %>
<% if dsn['api_level'] %>
APILevel=<%= dsn['api_level'] %>
<% end %>
<% if dsn['connect_functions'] %>
ConnectFunctions=<%= dsn['connect_functions'] %>
<% end %>
<% if dsn['driver_odbc_ver'] %>
DriverODBCVer=<%= dsn['driver_odbc_ver'] %>
<% end %>
<% if dsn['sql_level'] %>
SQLLevel=<%= dsn['sql_level'] %>
<% end %>
<% if dsn['driver64'] %>
Driver64=<%= dsn['driver64'] %>
<% end %>
<% if dsn['setup64'] %>
Setup64=<%= dsn['setup64'] %>
<% end %>
<% if dsn['fileusage'] %>
FileUsage=<%= dsn['warehouse'] %>
<% end %>
<% if dsn['usagecount'] %>
UsageCount=<%= dsn['usagecount'] %>
<% end %>
<% end %>
