Commit ff70ee4b607bd04a8267865eac3dbd42d5aa3bc9
1 parent
447bd54f
Exists in
master
and in
17 other branches
Our secret is in #{Rails.root}/.secret
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
files/gitlab-cookbooks/gitlab/recipes/gitlab-core.rb
... | ... | @@ -37,10 +37,10 @@ end |
37 | 37 | |
38 | 38 | should_notify = OmnibusHelper.should_notify?("gitlab-core") |
39 | 39 | |
40 | -secret_token_config = File.join(gitlab_core_etc_dir, "secret_token.rb") | |
40 | +secret_token_config = File.join(gitlab_core_etc_dir, "secret") | |
41 | 41 | |
42 | 42 | template secret_token_config do |
43 | - source "secret_token.erb" | |
43 | + source "secret_token" | |
44 | 44 | owner "root" |
45 | 45 | group "root" |
46 | 46 | mode "0644" |
... | ... | @@ -48,7 +48,7 @@ template secret_token_config do |
48 | 48 | notifies :restart, 'service[gitlab-core]' if should_notify |
49 | 49 | end |
50 | 50 | |
51 | -link "/opt/gitlab/embedded/service/gitlab-core/config/initializers/secret_token.rb" do | |
51 | +link "/opt/gitlab/embedded/service/gitlab-core/.secret" do | |
52 | 52 | to secret_token_config |
53 | 53 | end |
54 | 54 | ... | ... |