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

gitlab_sshd support in the omnibus config #417

Closed
mallorn opened this issue Jul 19, 2023 · 1 comment · Fixed by #421
Closed

gitlab_sshd support in the omnibus config #417

mallorn opened this issue Jul 19, 2023 · 1 comment · Fixed by #421

Comments

@mallorn
Copy link

mallorn commented Jul 19, 2023

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 7.25
  • Ruby: 2.7.8p225
  • Distribution: Rocky 8.8
  • Module version: 8.1.0

Hi,

We currently cannot configure the gitlab_sshd part of the omnibus config.

Sample code:

      gitlab_sshd => {
         enable => true,
         listen_address => 'git.example.com:2222',
      },

Error seen in Puppet:

Class[Gitlab]: has no parameter named 'gitlab_sshd'

The documentation states

Please note, managing the sshd service and openssh is outside the scope of this module.

Does this fall under that umbrella? Is there any other way to put these options into the config file? If we add them manually or via other puppet code they are overwritten.

@smortex
Copy link
Member

smortex commented Jul 19, 2023

This note in the documentation was introduced in 6dcb57a (6 years ago) and predate the feature you are talking about which was introduced in https://gitlab.com/gitlab-org/omnibus-gitlab/-/commit/833c4489ace2a24ccdf21e53026f862877b60709 (5 months ago).

It seems fine to add support for this new configuration section if you have a need for it. Maybe at that occasion rewording the note in the readme to make it less confusing would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants