From: Silvio Rhatto Date: Tue, 27 Apr 2021 16:54:53 +0000 (-0300) Subject: Fix: adds focal/puppet-silence-ruby-deprecation-warnings.patch X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=2abf493cf25572792e7ad476807c42b4d750bd8c;p=puppet-bootstrap.git Fix: adds focal/puppet-silence-ruby-deprecation-warnings.patch --- diff --git a/files/patches/focal/puppet-silence-ruby-deprecation-warnings.md b/files/patches/focal/puppet-silence-ruby-deprecation-warnings.md new file mode 100644 index 0000000..a4bd6bc --- /dev/null +++ b/files/patches/focal/puppet-silence-ruby-deprecation-warnings.md @@ -0,0 +1,6 @@ +# Silence Ruby deprecation warnings patch + +* [PUP-10391 URI.escape is obsolete in Ruby 2.7 - Puppet Tickets](https://tickets.puppetlabs.com/browse/PUP-10391). +* [PUP-10535 Move to Addressable - Puppet Tickets](https://tickets.puppetlabs.com/browse/PUP-10535). +* [#955532 - Deprecation warning in Ruby 2.7: URI.escape is obsolete - Debian Bug report logs](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955532). +* [Silence Ruby deprecation warnings (Closes: #955532). (!2) · Merge Requests · Debian Puppet Team / puppet · GitLab](https://salsa.debian.org/puppet-team/puppet/-/merge_requests/2/diffs). diff --git a/files/patches/focal/puppet-silence-ruby-deprecation-warnings.patch b/files/patches/focal/puppet-silence-ruby-deprecation-warnings.patch new file mode 100644 index 0000000..a1d8c10 --- /dev/null +++ b/files/patches/focal/puppet-silence-ruby-deprecation-warnings.patch @@ -0,0 +1,10 @@ +--- /usr/bin/puppet.orig 2021-04-27 13:50:28.100655437 -0300 ++++ /usr/bin/puppet 2021-04-27 13:50:50.576789022 -0300 +@@ -1,6 +1,7 @@ + #!/usr/bin/ruby + + begin ++ $VERBOSE = nil + require 'puppet/util/command_line' + Puppet::Util::CommandLine.new.execute + rescue LoadError => e