Puppet Class: profile::gitlab_test::gitlab

Defined in:
modules/profile/manifests/gitlab_test/gitlab.pp

Overview

SPDX-License-Identifier: Apache-2.0

Class profile::gitlab_test::gitlab

Allow git to login.

GitLab uses the default sshd server on the host machine to manage ssh access. It creates a command in the authorized_keys file in the git user's home directory.



10
11
12
13
14
15
# File 'modules/profile/manifests/gitlab_test/gitlab.pp', line 10

class profile::gitlab_test::gitlab {
    security::access::config { 'gitlab-allow-git':
        content  => "+ : git : ALL\n",
        priority => 60,
    }
}