Specify Redis database number
Original task:
We must include redis_database information in the generated URL, following a format GitLab Redis class can parse.
Fixes gitlab-org/gitlab-ce#3070 related: gitlab-org/gitlab-ce#20449
attempted in !925 (merged).
The MR got reverted as it is not working correctly.
Without specifying any redis setting in /etc/gitlab/gitlab.rb
it picks the incorrect values for resque.yml
:
production:
- url: unix:/var/opt/gitlab/redis/redis.socket
+ url: redis:/
This is most likely due to the load order of variables during the chef run. @brodock Did you test this MR before removing the WIP?