Fix #7 single line URI

concatenate all uris on a single line
This commit is contained in:
Xavier L 2016-07-11 08:22:07 -04:00 committed by GitHub
parent 3a5b8a12e6
commit f1186d453b

View File

@ -6,9 +6,7 @@ uid <%= @uid %>
gid <%= @gid %> gid <%= @gid %>
# The location at which the LDAP server(s) should be reachable. # The location at which the LDAP server(s) should be reachable.
<% @ldap_uris.each do |ldap_uri| -%> uri <%= @ldap_uris.sort.join(' ') %>
uri <%= ldap_uri %>
<% end -%>
# The LDAP protocol version to use. # The LDAP protocol version to use.
ldap_version <%= @ldap_version %> ldap_version <%= @ldap_version %>