Error in Openshift Template
I comment the commit https://gitlab.com/gitlab-org/omnibus-gitlab/commit/b98eb233197143cd989d9c9e1df96e7e3ef8aa8a\
The line git_data_dirs({ 'default' => { 'path' => /gitlab-data/git-data' } });
Generate the error:
Recipe Compile Error in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb
================================================================================
SyntaxError
-----------
(eval):1: unknown regexp options - gt
(eval):1: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '('
...path' => /gitlab-data/git-data' } }); gitlab_rails['shared_p...
... ^
(eval):1: syntax error, unexpected tIDENTIFIER, expecting end-of-input
...} }); gitlab_rails['shared_path'] = '/gitlab-data/shared'; g...
... ^
Cookbook Trace:
---------------
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/libraries/gitlab.rb:125:in `block in from_file'
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/config_mash.rb:28:in `auto_vivify'
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/libraries/gitlab.rb:125:in `from_file'
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/config.rb:23:in `from_file'
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:26:in `from_file'
Relevant File Content:
----------------------
And replace by git_data_dirs({ 'default' => { 'path' => '/gitlab-data/git-data' } });
Works fine!