|
41 | 41 | # The name of the package. |
42 | 42 | # @param repo_base_url |
43 | 43 | # The base repository url. |
| 44 | +# @param repo_keyid |
| 45 | +# Specifies a GPG key to authenticate Apt package signatures. Valid options: a string containing a key ID (8 or 16 hexadecimal |
| 46 | +# characters, optionally prefixed with "0x") or a full key fingerprint (40 hexadecimal characters). |
44 | 47 | # @param repo_keyserver |
45 | 48 | # The keyserver which should be used to get the repository key. |
46 | 49 | # @param repo_keycontent |
|
54 | 57 | # The path to the config file of Gitlab runner. |
55 | 58 | # |
56 | 59 | class gitlab_ci_runner ( |
57 | | - String $xz_package_name, # Defaults in module hieradata |
58 | | - Hash $runners = {}, |
59 | | - Hash $runner_defaults = {}, |
60 | | - Optional[Integer] $concurrent = undef, |
61 | | - Optional[Integer] $check_interval = undef, |
62 | | - Optional[String] $builds_dir = undef, |
63 | | - Optional[String] $cache_dir = undef, |
64 | | - Optional[Pattern[/.*:.+/]] $metrics_server = undef, |
65 | | - Optional[Pattern[/.*:.+/]] $listen_address = undef, |
66 | | - Optional[String] $sentry_dsn = undef, |
67 | | - Boolean $manage_docker = false, |
68 | | - Boolean $manage_repo = true, |
69 | | - String $package_ensure = installed, |
70 | | - String $package_name = 'gitlab-runner', |
71 | | - Stdlib::HTTPUrl $repo_base_url = 'https://packages.gitlab.com', |
72 | | - Optional[Stdlib::Fqdn] $repo_keyserver = undef, |
73 | | - Optional[String] $repo_keycontent = undef, |
74 | | - Optional[Pattern[/\Ahttps?:\/\//, /\Aftp:\/\//, /\A\/\w+/]] $repo_keysource = undef, |
75 | | - Boolean $repo_keyweak_ssl = false, |
76 | | - String $config_path = '/etc/gitlab-runner/config.toml', |
| 60 | + String $xz_package_name, # Defaults in module hieradata |
| 61 | + Hash $runners = {}, |
| 62 | + Hash $runner_defaults = {}, |
| 63 | + Optional[Integer] $concurrent = undef, |
| 64 | + Optional[Integer] $check_interval = undef, |
| 65 | + Optional[String] $builds_dir = undef, |
| 66 | + Optional[String] $cache_dir = undef, |
| 67 | + Optional[Pattern[/.*:.+/]] $metrics_server = undef, |
| 68 | + Optional[Pattern[/.*:.+/]] $listen_address = undef, |
| 69 | + Optional[String] $sentry_dsn = undef, |
| 70 | + Boolean $manage_docker = false, |
| 71 | + Boolean $manage_repo = true, |
| 72 | + String $package_ensure = installed, |
| 73 | + String $package_name = 'gitlab-runner', |
| 74 | + Stdlib::HTTPUrl $repo_base_url = 'https://packages.gitlab.com', |
| 75 | + Optional[Pattern[/\A(0x)?[0-9a-fA-F]{8}\Z/, /\A(0x)?[0-9a-fA-F]{16}\Z/, /\A(0x)?[0-9a-fA-F]{40}\Z/]] $repo_keyid = undef, |
| 76 | + Optional[Stdlib::Fqdn] $repo_keyserver = undef, |
| 77 | + Optional[String] $repo_keycontent = undef, |
| 78 | + Optional[Pattern[/\Ahttps?:\/\//, /\Aftp:\/\//, /\A\/\w+/]] $repo_keysource = undef, |
| 79 | + Boolean $repo_keyweak_ssl = false, |
| 80 | + String $config_path = '/etc/gitlab-runner/config.toml', |
77 | 81 | ) { |
78 | 82 | if $manage_docker { |
79 | 83 | # workaround for cirunner issue #1617 |
|
0 commit comments