Hi There,
I am trying to install redis server using omnibus installation. After configuring the gitlab.yml file as recomonded, the gitlab-ctl reconfigure command throwing the below error.
Relevant File Content:
----------------------
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/libraries/redis_helper.rb:
43:
44: uri
45: end
46:
47: class Checks
48: class << self
49: def is_redis_tcp?
50>> Gitlab['redis']['port'] && Gitlab['redis']['port'].positive?
51: end
52:
53: def is_redis_slave?
54: Gitlab['redis']['master'] == false
55: end
56:
57: def sentinel_daemon_enabled?
58: Services.enabled?('sentinel')
59: end
System Info:
------------
chef_version=13.6.4
platform=ubuntu
platform_version=18.04
ruby=ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]
program_name=/opt/gitlab/embedded/bin/chef-client
executable=/opt/gitlab/embedded/bin/chef-client
Running handlers:
There was an error running gitlab-ctl reconfigure:
undefined method `positive?' for "6379":String
Running handlers complete
Chef Client failed. 0 resources updated in 05 seconds
Looks like this is the error in chef recipe itself but i am not sure about that. Can anyone help me on this. Thanks in Advance.