Commit eda41914504dc3df6a0e4342d519024a7601c2c3

Authored by Jacob Vosmaer
2 parents f3ef7fbc c872d330

Merge branch 'master' into 'master'

Add reconfigure attribute for sign_in_text

Added section to gitlab.yml.erb for setting 'extra: sign_in_text' from gitlab.rb

Updated to remove else section
files/gitlab-cookbooks/gitlab/templates/default/gitlab.yml.erb
... ... @@ -238,10 +238,13 @@ production: &base
238 238 # piwik_url: '_your_piwik_url'
239 239 # piwik_site_id: '_your_piwik_site_id'
240 240  
  241 + <% if @extra_sign_in_text %>
241 242 ## Text under sign-in page (Markdown enabled)
242   - # sign_in_text: |
243   - # ![Company Logo](http://www.companydomain.com/logo.png)
244   - # [Learn more about CompanyName](http://www.companydomain.com/)
  243 + sign_in_text: |
  244 + <% @extra_sign_in_text.to_s.split("\n").each do |line| %>
  245 + <%= line %>
  246 + <% end %>
  247 + <% end %>
245 248  
246 249 development:
247 250 <<: *base
... ...