voxpupuli / puppet-gitlab_ci_runner

Module to mange gitlab CI runners. Extracted from https://github.com/voxpupuli/puppet-gitlab
Apache License 2.0
14 stars 52 forks source link

repo_keyserver does not allow hkp:// #101

Closed hp197 closed 2 years ago

hp197 commented 3 years ago

Affected Puppet, Ruby, OS and module versions/distributions

How to reproduce (e.g Puppet code you use)

What are you seeing

gitlab_ci_runner::repo_keyserver does not accept valid keyserver url's like: hkp://keyserver.ubuntu.com:80

This is needed in some environments, where outbound port 11371 (hkp protocol) is blocked and keys needs to be fetched over the regular http port.

What behaviour did you expect instead

Output log

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Resource Statement, Class[Gitlab_ci_runner]: parameter 'repo_keyserver' expects a match for Stdlib::Fqdn = Pattern[/\A(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])\z/], got 'hkp://keyserver.ubuntu.com:80'

Any additional information you'd like to impart