voxpupuli / puppet-puppetwebhook

Manage the installation and configuration of the puppet_webhook gem
Apache License 2.0
0 stars 7 forks source link

tests: remove ruby 2.4.4 during Beaker acceptance tests #27

Closed Dan33l closed 4 years ago

Dan33l commented 4 years ago

Pull Request (PR) description

the CI is with the following message :

Error: /Stage[main]/Puppetwebhook::Install/Package[puppet_webhook]/ensure: change from 'absent' to 'present' failed: Execution of  '/opt/puppetlabs/puppet/bin/gem install --no-document puppet_webhook' returned 1: ERROR:  Error installing puppet_webhook:
sidekiq requires Ruby version >= 2.5.0.

This Pull Request (PR) fixes the following issues

Dan33l commented 4 years ago

Doh!! It is related to RUby shipped with Puppet since provider uses /opt/puppetlabs/puppet/bin/gem.

So it looks currently impossible to install Puppet Webhook with Ruby provided by Puppet 5. :(