From ff70ee4b607bd04a8267865eac3dbd42d5aa3bc9 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Tue, 4 Feb 2014 17:13:46 +0100 Subject: [PATCH] Our secret is in #{Rails.root}/.secret --- files/gitlab-cookbooks/gitlab/recipes/gitlab-core.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/gitlab-cookbooks/gitlab/recipes/gitlab-core.rb b/files/gitlab-cookbooks/gitlab/recipes/gitlab-core.rb index 52fead9..339c8cb 100644 --- a/files/gitlab-cookbooks/gitlab/recipes/gitlab-core.rb +++ b/files/gitlab-cookbooks/gitlab/recipes/gitlab-core.rb @@ -37,10 +37,10 @@ end should_notify = OmnibusHelper.should_notify?("gitlab-core") -secret_token_config = File.join(gitlab_core_etc_dir, "secret_token.rb") +secret_token_config = File.join(gitlab_core_etc_dir, "secret") template secret_token_config do - source "secret_token.erb" + source "secret_token" owner "root" group "root" mode "0644" @@ -48,7 +48,7 @@ template secret_token_config do notifies :restart, 'service[gitlab-core]' if should_notify end -link "/opt/gitlab/embedded/service/gitlab-core/config/initializers/secret_token.rb" do +link "/opt/gitlab/embedded/service/gitlab-core/.secret" do to secret_token_config end -- libgit2 0.21.2