diff -Nru puppet-5.5.10/debian/changelog puppet-5.5.10.new/debian/changelog --- puppet-5.5.10/debian/changelog 2020-03-25 18:20:06.000000000 -0300 +++ puppet-5.5.10.new/debian/changelog 2020-03-26 18:36:33.299113850 -0300 @@ -1,3 +1,15 @@ +puppet (5.5.10-4ubuntu3) focal; urgency=medium + + * d/p/fix-ruby27-warning.patch: Add patch to fix a warning when executed + with Ruby 2.7. It fixes an autopkgtest regression in ruby-puppet-syntax. + * d/t/control: Add allow-stderr restriction to puppet master and puppet + master passenger tests. + * d/t/control: add 'puppet' to $no_proxy variable in puppet-master-passenger + test to let tests make requests to puppet master running locally + (LP: #1869265). + + -- Lucas Kanashiro Thu, 26 Mar 2020 18:27:14 -0300 + puppet (5.5.10-4ubuntu2) focal; urgency=medium * d/t/control: generate a certificate for puppet master if it does not diff -Nru puppet-5.5.10/debian/patches/fix-ruby27-warning.patch puppet-5.5.10.new/debian/patches/fix-ruby27-warning.patch --- puppet-5.5.10/debian/patches/fix-ruby27-warning.patch 1969-12-31 21:00:00.000000000 -0300 +++ puppet-5.5.10.new/debian/patches/fix-ruby27-warning.patch 2020-03-26 18:27:04.942259438 -0300 @@ -0,0 +1,17 @@ +Description: Fix Ruby 2.7 warning + The '**' operater should be used to pass keyword arguments from now on. +Author: Lucas Kanashiro +Last-Updated: 26-03-2020 +Forwarded: yes, https://github.com/puppetlabs/puppet/pull/8060 + +--- a/lib/puppet/file_system/file_impl.rb ++++ b/lib/puppet/file_system/file_impl.rb +@@ -77,7 +77,7 @@ + end + + def read(path, opts = {}) +- path.read(opts) ++ path.read(**opts) + end + + def read_preserve_line_endings(path) diff -Nru puppet-5.5.10/debian/patches/series puppet-5.5.10.new/debian/patches/series --- puppet-5.5.10/debian/patches/series 2020-03-06 12:15:40.000000000 -0300 +++ puppet-5.5.10.new/debian/patches/series 2020-03-26 18:27:04.950259449 -0300 @@ -7,3 +7,4 @@ 0008-fix-locale-loading.patch reproducible-build.patch 0009-Avoid-BigDecimals-when-loading-JSON-using-Oj.patch +fix-ruby27-warning.patch diff -Nru puppet-5.5.10/debian/tests/control puppet-5.5.10.new/debian/tests/control --- puppet-5.5.10/debian/tests/control 2020-03-25 18:20:06.000000000 -0300 +++ puppet-5.5.10.new/debian/tests/control 2020-03-26 18:26:25.942201952 -0300 @@ -4,11 +4,11 @@ Test-Command: cd debian/tests && (puppet cert print $(hostname --fqdn) >/dev/null 2>&1 || puppet cert generate $(hostname --fqdn) --dns_alt_names=puppet) && rspec spec/puppet-master/*_spec.rb Depends: puppet-master,ruby-serverspec -Restrictions: needs-root,isolation-container +Restrictions: needs-root,isolation-container,allow-stderr -Test-Command: cd debian/tests && rspec spec/puppet-master-passenger/*_spec.rb +Test-Command: cd debian/tests && no_proxy=puppet,$no_proxy rspec spec/puppet-master-passenger/*_spec.rb Depends: puppet-master-passenger,ruby-serverspec,curl -Restrictions: needs-root,isolation-container +Restrictions: needs-root,isolation-container,allow-stderr Test-Command: cd debian/tests && ./service-setup systemd && rspec spec/service-systemd/*_spec.rb Depends: puppet, systemd-sysv, ruby-serverspec