|
2 | 2 | class gitlab::params { |
3 | 3 |
|
4 | 4 | # Manage Packages |
5 | | - $gitlab_manage_packages = true |
| 5 | + $puppet_manage_config = false |
| 6 | + $puppet_manage_backups = true |
6 | 7 |
|
7 | 8 | # Gitlab server settings |
8 | 9 | $gitlab_branch = '7.0.0' |
9 | | - $git_user = 'git' # only change if you really know what you are doing |
10 | | - $git_home = '/home/git' |
| 10 | + $gitlab_release = 'basic' # enterprise or basic |
| 11 | + # $git_home = '/home/git' |
11 | 12 | $git_email = 'example@example.com' |
12 | 13 | $git_comment = 'GitLab' |
13 | 14 | $git_ssh_port = '22' |
|
28 | 29 | $default_servername = 'gitlab' # example gitlab.foo.com |
29 | 30 |
|
30 | 31 |
|
31 | | - # LDAP |
32 | | - $ldap_enabled = false |
33 | | - $ldap_host = 'ldap.domain.com' |
34 | | - $ldap_base = 'dc=domain,dc=com' |
35 | | - $ldap_uid = 'uid' # Active directory = 'sAMAccountName' |
36 | | - $ldap_port = '636' |
37 | | - $ldap_method = 'ssl' # "tls" or "ssl" or "plain" |
38 | | - $ldap_bind_dn = '' |
39 | | - $ldap_bind_password = '' |
| 32 | + # # LDAP |
| 33 | + # $ldap_enabled = false |
| 34 | + # $ldap_host = 'ldap.domain.com' |
| 35 | + # $ldap_base = 'dc=domain,dc=com' |
| 36 | + # $ldap_uid = 'uid' # Active directory = 'sAMAccountName' |
| 37 | + # $ldap_port = '636' |
| 38 | + # $ldap_method = 'ssl' # "tls" or "ssl" or "plain" |
| 39 | + # $ldap_bind_dn = '' |
| 40 | + # $ldap_bind_password = '' |
40 | 41 |
|
41 | 42 | # Company Branding |
42 | 43 | $use_custom_login_logo = false |
|
59 | 60 | $gitlab_projects = '15' |
60 | 61 | $visibility_level = 'internal' |
61 | 62 |
|
62 | | - # Backup |
63 | | - $backup_path = 'tmp/backups' # Relative paths are relative to Rails.root (default: tmp/backups/) |
64 | | - $backup_keep_time = '0' # default: 0 (forever) (in seconds), 604800 = 1 week |
| 63 | + # # Backup |
| 64 | + # $backup_path = 'tmp/backups' # Relative paths are relative to Rails.root (default: tmp/backups/) |
| 65 | + # $backup_keep_time = '0' # default: 0 (forever) (in seconds), 604800 = 1 week |
| 66 | + |
| 67 | + #Omnibus configuration |
| 68 | + |
| 69 | + # Define port numbers as strings |
| 70 | + $redis_port = undef # 6379 |
| 71 | + $postgresql_port = undef # 5432 |
| 72 | + $unicorn_port = undef # 8080 |
| 73 | + |
| 74 | + $git_data_dir = undef # "/var/opt/gitlab/git-data" |
| 75 | + $gitlab_username = undef # "gitlab" |
| 76 | + $gitlab_group = undef # "gitlab" |
| 77 | + |
| 78 | + # These settings are documented in more detail at |
| 79 | + # https://gitlab.com/gitlab-org/gitlab-ce/blob/master/config/gitlab.yml.example#L118 |
| 80 | + $ldap_enabled = true |
| 81 | + $ldap_host = 'hostname of LDAP server' |
| 82 | + $ldap_port = 389 # or 636 |
| 83 | + $ldap_uid = 'sAMAccountName' # or 'uid' |
| 84 | + $ldap_method = 'plain' # 'ssl' or 'plain' |
| 85 | + $ldap_bind_dn = 'CN=query user,CN=Users,DC=mycorp,DC=com' |
| 86 | + $ldap_password = 'query user password' |
| 87 | + |
| 88 | + $ldap_allow_username_or_email_login = true |
| 89 | + $ldap_base = 'DC=mycorp,DC=com' |
| 90 | + |
| 91 | + # GitLab Enterprise Edition only |
| 92 | + $ldap_group_base = '' # Example: 'OU=groups,DC=mycorp,DC=com' |
| 93 | + $ldap_user_filter = '' # Example: '(memberOf=CN=my department,OU=groups,DC=mycorp,DC=com)' |
| 94 | + |
| 95 | + # external_url "https://gitlab.example.com" |
| 96 | + |
| 97 | + $redirect_http_to_https = true |
| 98 | + $ssl_certificate = "/etc/gitlab/ssl/gitlab.crt" |
| 99 | + $ssl_certificate_key = "/etc/gitlab/ssl/gitlab.key" |
| 100 | + |
| 101 | + $git_uid = 1001 |
| 102 | + $git_gid = 1002 |
| 103 | + $gitlab_redis_uid = 998 |
| 104 | + $gitlab_redis_gid = 1003 |
| 105 | + $gitlab_psql_uid = 997 |
| 106 | + $gitlab_psql_gid = 1004 |
| 107 | + |
| 108 | + $aws_enable = true |
| 109 | + $aws_access_key_id = 'AKIA1111111111111UA' |
| 110 | + $aws_secret_access_key = 'secret' |
| 111 | + $aws_bucket = 'my_gitlab_bucket' |
| 112 | + $aws_region = 'us-east-1' |
| 113 | + |
| 114 | + $smtp_enable = true |
| 115 | + $smtp_address = "smtp.server" |
| 116 | + $smtp_port = 456 |
| 117 | + $smtp_user_name = "smtp user" |
| 118 | + $smtp_password = "smtp password" |
| 119 | + $smtp_domain = "example.com" |
| 120 | + $smtp_authentication = "login" |
| 121 | + $smtp_enable_starttls_auto = true |
| 122 | + |
| 123 | + $omniauth_enabled = true |
| 124 | + $omniauth_providers = '[ |
| 125 | + { |
| 126 | + "name" => "google_oauth2", |
| 127 | + "app_id" => "YOUR APP ID", |
| 128 | + "app_secret" => "YOUR APP SECRET", |
| 129 | + "args" => { "access_type" => "offline", "approval_prompt" => "" } |
| 130 | + } |
| 131 | + ]' |
| 132 | + |
| 133 | + # Below are the default values |
| 134 | + $svlogd_size = 200 * 1024 * 1024 # rotate after 200 MB of log data |
| 135 | + $svlogd_num = 30 # keep 30 rotated log files |
| 136 | + $svlogd_timeout = 24 * 60 * 60 # rotate after 24 hours |
| 137 | + $svlogd_filter = "gzip" # compress logs with gzip |
| 138 | + $svlogd_udp = nil # transmit log messages via UDP |
| 139 | + $svlogd_prefix = nil # custom prefix for log messages |
| 140 | + |
65 | 141 |
|
66 | 142 | } |
0 commit comments