From 2abf493cf25572792e7ad476807c42b4d750bd8c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 27 Apr 2021 13:54:53 -0300 Subject: Fix: adds focal/puppet-silence-ruby-deprecation-warnings.patch --- .../patches/focal/puppet-silence-ruby-deprecation-warnings.md | 6 ++++++ .../focal/puppet-silence-ruby-deprecation-warnings.patch | 10 ++++++++++ 2 files changed, 16 insertions(+) create mode 100644 files/patches/focal/puppet-silence-ruby-deprecation-warnings.md create mode 100644 files/patches/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 -- cgit v1.2.3