Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review gitlab.rb Template #103

Closed
tobru opened this issue Dec 23, 2016 · 7 comments
Closed

Review gitlab.rb Template #103

tobru opened this issue Dec 23, 2016 · 7 comments
Labels
enhancement New feature or request needs-help Extra attention is needed

Comments

@tobru
Copy link
Contributor

tobru commented Dec 23, 2016

Gitlab has progressed a lot in the last months. The file templates/gitlab.rb.erb needs to be revised and aligned to the template found in Omnibus.

@tobru tobru added enhancement New feature or request needs-help Extra attention is needed labels Dec 23, 2016
@james-powis
Copy link
Member

doing some grep foo and looking at the diff from HEAD > omnibus 8.0 the following 2 groupings are not supported currently by this module:

+# sentinel['bind'] = '0.0.0.0'
+# sentinel['port'] = 26379
+# sentinel['quorum'] = 1
+# sentinel['down_after_milliseconds'] = 10000
+# sentinel['failover_timeout'] = 60000
+# sidekiq_cluster['enable'] = false
+# sidekiq_cluster['ha'] = false
+# sidekiq_cluster['log_directory'] = "/var/log/gitlab/sidekiq-cluster"
+# sidekiq_cluster['interval'] = 5 # The number of seconds to wait between worker checks
+# sidekiq_cluster['queue_groups'] = [

@james-powis
Copy link
Member

best I can tell every other config directive is covered by the existing template.

@tobru
Copy link
Contributor Author

tobru commented Jan 12, 2017

Thanks! It's not just adding parameters, but also removing deprecated parameters... Will hopefully work on this over the next weeks.

@matonb
Copy link

matonb commented Mar 14, 2017

Would these parameters fit in this category ?

gitlab_rails['backup_path'] = <path>
git_data_dirs({"default" => "<path>"})

@tobru
Copy link
Contributor Author

tobru commented Mar 15, 2017

Would these parameters fit in this category ?

Yes =) See also #110

@davidgubler
Copy link
Contributor

davidgubler commented May 22, 2017

All the configuration options mentioned above should be supported now. I recently added the missing git_data_dirs (thanks to Corey Osman) and sidekiq_cluster options (19ff7e0).

@LongLiveCHIEF
Copy link
Contributor

So it turns out that git_data_dirs is currently misdocumented. The correct hash for this should look like:

#correct
git_data_dirs({'default' => {'path' => '/git/data/path'}})

#incorrect
git_data_dirs({'default' => '/git/data/path'})

see: https://gitlab.com/gitlab-org/gitlab-ee/issues/4040#note_54368948

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-help Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants