Actions
Bug #34681
closedUpdates oauth Gem installed by puppet-agent-oauth under Debian to a newer version (0.5.1 produces lots of warnings about URI.escape)
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Debian/Ubuntu
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:
Description
Under Debian/Ubuntu the .deb package puppet-agent-oauth installs the oauth Gem in Puppet's Ruby environment by means of a post-install hook into /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1.
This version of oauth is old and produces annoying warnings (about 100 lines) under Puppet 7 during every Puppet agent run on any node that runs foreman-proxy:
/opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete ...
I see that under RedHat the oauth Gem is installed in a newer version (0.5.5) that should not produce any warnings related to URI.escape so it seems to me that there is no reason to keep the oauth Gem at 0.5.1 under Debian.
I can provide a PR that does the work of updating oauth to 0.5.5 but I am not 100% on the Foreman project's packaging workflows.
Actions