You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Affected Puppet, Ruby, OS and module versions/distributions
Puppet: 7.29.1
Ruby:
Distribution:
Module version: 11.0.1
How to reproduce (e.g Puppet code you use)
Running puppet agent -t
What are you seeing
Error: Execution of '/opt/puppetlabs/puppet/bin/gem install --no-document --no-document r10k' returned 1: ERROR: Error installing r10k: The last version of faraday (~> 2.0) to support your Ruby & RubyGems was 2.8.1. Try installing it with gem install faraday -v 2.8.1and then running the current command again faraday requires Ruby version >= 3.0. The current ruby version is 2.7.8.225. Error: /Stage[main]/R10k::Install/Package[r10k]/ensure: change from 'absent' to 'present' failed: Execution of '/opt/puppetlabs/puppet/bin/gem install --no-document --no-document r10k' returned 1: ERROR: Error installing r10k: The last version of faraday (~> 2.0) to support your Ruby & RubyGems was 2.8.1. Try installing it withgem install faraday -v 2.8.1and then running the current command again faraday requires Ruby version >= 3.0. The current ruby version is 2.7.8.225. Notice: /Stage[main]/R10k::Install::Puppet_gem/File[/usr/bin/r10k]: Dependency Package[r10k] has failures: true Warning: /Stage[main]/R10k::Install::Puppet_gem/File[/usr/bin/r10k]: Skipping because of failed dependencies
What behaviour did you expect instead
no error or failure
Output log
Please see above...
Any additional information you'd like to impart
This was working and then I reinstalled OS (same version: ubuntu 20.04) and then these errors. When i install the gem as recommended i.e. /opt/puppetlabs/puppet/bin/gem install --no-document faraday-net_http -v 3.0.2
it then recommends installing gem -v 2.8.1 (which apparently doesn't exist)
Help!
The text was updated successfully, but these errors were encountered:
Affected Puppet, Ruby, OS and module versions/distributions
Puppet: 7.29.1
Ruby:
Distribution:
Module version: 11.0.1
How to reproduce (e.g Puppet code you use)
Running puppet agent -t
What are you seeing
Error: Execution of '/opt/puppetlabs/puppet/bin/gem install --no-document --no-document r10k' returned 1: ERROR: Error installing r10k: The last version of faraday (~> 2.0) to support your Ruby & RubyGems was 2.8.1. Try installing it with
gem install faraday -v 2.8.1and then running the current command again faraday requires Ruby version >= 3.0. The current ruby version is 2.7.8.225. Error: /Stage[main]/R10k::Install/Package[r10k]/ensure: change from 'absent' to 'present' failed: Execution of '/opt/puppetlabs/puppet/bin/gem install --no-document --no-document r10k' returned 1: ERROR: Error installing r10k: The last version of faraday (~> 2.0) to support your Ruby & RubyGems was 2.8.1. Try installing it with
gem install faraday -v 2.8.1and then running the current command again faraday requires Ruby version >= 3.0. The current ruby version is 2.7.8.225. Notice: /Stage[main]/R10k::Install::Puppet_gem/File[/usr/bin/r10k]: Dependency Package[r10k] has failures: true Warning: /Stage[main]/R10k::Install::Puppet_gem/File[/usr/bin/r10k]: Skipping because of failed dependencies
What behaviour did you expect instead
no error or failure
Output log
Please see above...
Any additional information you'd like to impart
This was working and then I reinstalled OS (same version: ubuntu 20.04) and then these errors. When i install the gem as recommended i.e. /opt/puppetlabs/puppet/bin/gem install --no-document faraday-net_http -v 3.0.2
it then recommends installing gem -v 2.8.1 (which apparently doesn't exist)
Help!
The text was updated successfully, but these errors were encountered: