Skip to content

Commit

Permalink
remove broken and unnecessary workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
David Gubler committed Apr 4, 2017
1 parent a4dbca6 commit 42ff18e
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions templates/gitlab.rb.erb
Expand Up @@ -55,16 +55,9 @@ git_data_dir "<%= @git_data_dir %>"
# gitlab.yml configuration #
############################


<%- @gitlab_rails.keys.sort.each do |k| -%>
<%- if k == 'ldap_servers' -%>
gitlab_rails['<%= k -%>'] = YAML.load <<-EOS
<%= sort_hash_by_key(@gitlab_rails[k]).to_yaml.gsub(/\s+$/,'').gsub(/---\s*\n/,'') %>
EOS

<%- else -%>
gitlab_rails['<%= k -%>'] = <%= decorate(@gitlab_rails[k]) %>
<%- end end end -%>
<%- end end -%>
<%- if @user -%>

###############
Expand Down

0 comments on commit 42ff18e

Please sign in to comment.