Describe the bug
The AMI Baking is faling at the installation step to install InSpec.
Error message:
[0;32m aws: [1;31mError: /Stage[main]/Config/Package[inspec]/ensure: change from 'absent' to '1.51.6' failed: Could not update: Execution of '/opt/puppetlabs/puppet/bin/gem install -v 1.51.6 --no-document inspec' returned 1: ERROR: Error installing inspec:[0m
[0;32m aws: faraday requires Ruby version >= 2.6.[0m
The latest version of faraday requires ruby 2.6, but we are still using ruby 2.4.
To Reproduce
Start AMI baking of any component and wait until it fails
Expected behavior
The installation of InSpec should pass
Environment (please complete the following information if relevant):
Describe the bug The AMI Baking is faling at the installation step to install InSpec.
Error message:
The latest version of faraday requires ruby 2.6, but we are still using ruby 2.4.
To Reproduce
Expected behavior The installation of InSpec should pass
Environment (please complete the following information if relevant):
Additional context A proposed solution could be to lockdown the version of faraday to the last working version with ruby 2.4 https://github.com/lostisland/faraday/releases/tag/v1.9.3
similar was done in the past with
parallel
https://github.com/shinesolutions/packer-aem/commit/ae0358b41bc1f1d6bed7b0041cbc745a15bb2da5