puppet-gitlab icon indicating copy to clipboard operation
puppet-gitlab copied to clipboard

support global hook http(s) source.

Open madelaney opened this issue 3 years ago • 0 comments

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 6.17.0
  • Ruby: ruby 2.5.8p224
  • Distribution: Ubuntu 18.04 / 20.04
  • Module version: 7.1.0

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

N/A

What are you seeing

We're only able to use the puppet:/// location when creating a global_hook.

What behaviour did you expect instead

I'd like to be able to create a global_hook from a file we keep in artifactory (binary file). Something like:

  gitlab::global_hook {
    'compiled-global-hook':
      type     => 'pre-receive',
      source => 'https://artifactory.internal-company.io/releases/binary';
  }

Output log

N/A

Any additional information you'd like to impart

If it could support a tar.gz or anything supported by puppet-archive, that would be awesome.

  • Mike D.

madelaney avatar Jun 07 '21 18:06 madelaney