Commit 696fe2a3efd39c44e231262ed5870d96874d3299

Authored by Jacob Vosmaer
1 parent d4984e20

Add the ability to change the Redis port

CHANGELOG
... ... @@ -12,6 +12,7 @@
12 12 - Use sane LDAP defaults
13 13 - Clear the Rails cache after modifying gitlab.yml
14 14 - Only run `rake db:migrate` when the gitlab-rails version has changed
  15 +- Ability to change the Redis port
15 16  
16 17 6.8.1
17 18 - Use gitlab-rails 6.8.1
... ...
files/gitlab-cookbooks/gitlab/recipes/gitlab-rails.rb
... ... @@ -74,6 +74,15 @@ template_symlink File.join(gitlab_rails_etc_dir, "database.yml") do
74 74 restarts dependent_services
75 75 end
76 76  
  77 +template_symlink File.join(gitlab_rails_etc_dir, "resque.yml") do
  78 + link_from File.join(gitlab_rails_source_dir, "config/resque.yml")
  79 + source "resque.yml.erb"
  80 + owner "root"
  81 + group "root"
  82 + mode "0644"
  83 + restarts dependent_services
  84 +end
  85 +
77 86 template_symlink File.join(gitlab_rails_etc_dir, "gitlab.yml") do
78 87 link_from File.join(gitlab_rails_source_dir, "config/gitlab.yml")
79 88 source "gitlab.yml.erb"
... ...
files/gitlab-cookbooks/gitlab/templates/default/resque.yml.erb 0 → 100644
... ... @@ -0,0 +1 @@
  1 +production: redis://localhost:<%= node['gitlab']['redis']['port'] %>
... ...