diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2021-04-27 13:54:53 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2021-04-27 13:54:53 -0300 |
commit | 2abf493cf25572792e7ad476807c42b4d750bd8c (patch) | |
tree | 758047343d9cef72705a5d7781e938071b349a6f | |
parent | eb5ecc4fcad6bd4f75e38683ae12a8dba4382c0b (diff) | |
download | puppet-bootstrap-2abf493cf25572792e7ad476807c42b4d750bd8c.tar.gz puppet-bootstrap-2abf493cf25572792e7ad476807c42b4d750bd8c.tar.bz2 |
Fix: adds focal/puppet-silence-ruby-deprecation-warnings.patch
-rw-r--r-- | files/patches/focal/puppet-silence-ruby-deprecation-warnings.md | 6 | ||||
-rw-r--r-- | files/patches/focal/puppet-silence-ruby-deprecation-warnings.patch | 10 |
2 files changed, 16 insertions, 0 deletions
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 |