Add gitlab-sshd configuration support
This adds support for enabling gitlab-sshd on port 2222 by default. gitlab-sshd is currently intertwined with gitlab-shell: the gitlab-shell config file controls gitlab-sshd startup parameters, including the log file and host key settings. `/var/log/gitlab/gitlab-shell/gitlab-shell.log` actually contains most of the important messages. Relates to https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/5937 Changelog: added
parent
db8b43c93038
No related branches found
No related tags found
Showing
- files/gitlab-config-template/gitlab.rb.template 30 additions, 0 deletionsfiles/gitlab-config-template/gitlab.rb.template
- files/gitlab-cookbooks/gitlab/attributes/default.rb 27 additions, 0 deletionsfiles/gitlab-cookbooks/gitlab/attributes/default.rb
- files/gitlab-cookbooks/gitlab/libraries/gitlab_sshd_helper.rb 55 additions, 0 deletions...s/gitlab-cookbooks/gitlab/libraries/gitlab_sshd_helper.rb
- files/gitlab-cookbooks/gitlab/recipes/gitlab-shell.rb 76 additions, 17 deletionsfiles/gitlab-cookbooks/gitlab/recipes/gitlab-shell.rb
- files/gitlab-cookbooks/gitlab/templates/default/gitlab-shell-config.yml.erb 8 additions, 0 deletions...ooks/gitlab/templates/default/gitlab-shell-config.yml.erb
- files/gitlab-cookbooks/gitlab/templates/default/sv-gitlab-sshd-log-config.erb 6 additions, 0 deletions...ks/gitlab/templates/default/sv-gitlab-sshd-log-config.erb
- files/gitlab-cookbooks/gitlab/templates/default/sv-gitlab-sshd-log-run.erb 2 additions, 0 deletions...books/gitlab/templates/default/sv-gitlab-sshd-log-run.erb
- files/gitlab-cookbooks/gitlab/templates/default/sv-gitlab-sshd-run.erb 13 additions, 0 deletions...cookbooks/gitlab/templates/default/sv-gitlab-sshd-run.erb
- files/gitlab-cookbooks/package/libraries/config/gitlab.rb 1 addition, 0 deletionsfiles/gitlab-cookbooks/package/libraries/config/gitlab.rb
- files/gitlab-cookbooks/package/libraries/config/services.rb 1 addition, 0 deletionsfiles/gitlab-cookbooks/package/libraries/config/services.rb
- files/gitlab-cookbooks/package/libraries/settings_dsl.rb 1 addition, 1 deletionfiles/gitlab-cookbooks/package/libraries/settings_dsl.rb
- spec/chef/cookbooks/gitlab/recipes/gitlab-shell_spec.rb 114 additions, 4 deletionsspec/chef/cookbooks/gitlab/recipes/gitlab-shell_spec.rb
Loading
Please register or sign in to comment