If this parameter is set to true, a file is created in /opt/gitlab-shell/authorized_keys that tries to call a non-existent command. Gitlab (at least from version 14) already has commands located in /opt/gitlab/embedded/service/gitlab-shell/bin for the fast lookup of keys.
Setting the parameter to true also creates a dependency failure because host_config.pp attempts to manage File['/opt/gitlab-shell'] before actually creating the user or group git.
The
store_git_keys_in_db
parameter appears to be inconsistent with gitlab version 14+ as described in the setup instructions here: https://docs.gitlab.com/ee/administration/operations/fast_ssh_key_lookup.htmlIf this parameter is set to
true
, a file is created in/opt/gitlab-shell/authorized_keys
that tries to call a non-existent command. Gitlab (at least from version 14) already has commands located in/opt/gitlab/embedded/service/gitlab-shell/bin
for the fast lookup of keys.Setting the parameter to
true
also creates a dependency failure becausehost_config.pp
attempts to manage File['/opt/gitlab-shell'] before actually creating the user or groupgit
.