From f1186d453be13c0cd4a47b432506c31e44048ba8 Mon Sep 17 00:00:00 2001 From: Xavier L Date: Mon, 11 Jul 2016 08:22:07 -0400 Subject: [PATCH] Fix #7 single line URI concatenate all uris on a single line --- templates/nslcd.erb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/templates/nslcd.erb b/templates/nslcd.erb index 16a221c..79f62e1 100644 --- a/templates/nslcd.erb +++ b/templates/nslcd.erb @@ -6,9 +6,7 @@ uid <%= @uid %> gid <%= @gid %> # The location at which the LDAP server(s) should be reachable. -<% @ldap_uris.each do |ldap_uri| -%> -uri <%= ldap_uri %> -<% end -%> +uri <%= @ldap_uris.sort.join(' ') %> # The LDAP protocol version to use. ldap_version <%= @ldap_version %>