Commit dc5aa601ab661c8c441310d1b5c4c12879db2955

Authored by David Silva
Committed by Paulo Tada
1 parent 6223ebe4
Exists in mezuro_cookbook

Fixs relative url for gitlab assets.

Signed-off-by: Macartur Sousa <macartur.sc@gmail.com>
Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
cookbooks/gitlab/recipes/default.rb
... ... @@ -94,3 +94,7 @@ execute &#39;selinux-gitlab&#39; do
94 94 command 'selinux-install-module /etc/selinux/local/gitlab.te'
95 95 action :nothing
96 96 end
  97 +
  98 +execute 'fix-relative-url-for-assets' do
  99 + command 'sed -i \'s/# config.relative_url_root = "\/gitlab"/config.relative_url_root = "\/gitlab"/\' config/application.rb'
  100 +end
... ...