|
43 | 43 | # The base repository url. |
44 | 44 | # @param repo_keyserver |
45 | 45 | # The keyserver which should be used to get the repository key. |
| 46 | +# @param repo_keycontent |
| 47 | +# Supplies the entire GPG key. Useful in case the key can't be fetched from a remote location and using a file resource is inconvenient. |
| 48 | +# @param repo_keysource |
| 49 | +# Specifies the location of an existing GPG key file to copy. Valid options: a string containing a URL (ftp://, http://, or https://) or |
| 50 | +# an absolute path. |
| 51 | +# @param repo_keyweak_ssl |
| 52 | +# Specifies whether strict SSL verification on a https URL should be disabled. Valid options: true or false. |
46 | 53 | # @param config_path |
47 | 54 | # The path to the config file of Gitlab runner. |
48 | 55 | # |
49 | 56 | class gitlab_ci_runner ( |
50 | | - String $xz_package_name, # Defaults in module hieradata |
51 | | - Hash $runners = {}, |
52 | | - Hash $runner_defaults = {}, |
53 | | - Optional[Integer] $concurrent = undef, |
54 | | - Optional[Integer] $check_interval = undef, |
55 | | - Optional[String] $builds_dir = undef, |
56 | | - Optional[String] $cache_dir = undef, |
57 | | - Optional[Pattern[/.*:.+/]] $metrics_server = undef, |
58 | | - Optional[Pattern[/.*:.+/]] $listen_address = undef, |
59 | | - Optional[String] $sentry_dsn = undef, |
60 | | - Boolean $manage_docker = false, |
61 | | - Boolean $manage_repo = true, |
62 | | - String $package_ensure = installed, |
63 | | - String $package_name = 'gitlab-runner', |
64 | | - Stdlib::HTTPUrl $repo_base_url = 'https://packages.gitlab.com', |
65 | | - Optional[Stdlib::Fqdn] $repo_keyserver = undef, |
66 | | - String $config_path = '/etc/gitlab-runner/config.toml', |
| 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', |
67 | 77 | ) { |
68 | 78 | if $manage_docker { |
69 | 79 | # workaround for cirunner issue #1617 |
|
0 commit comments