Package: puppet / 5.5.22-2

Metadata

Package Version Patches format
puppet 5.5.22-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Adjust default paths.patch | (download)

lib/puppet/defaults.rb | 2 1 + 1 - 0 !
lib/puppet/util/run_mode.rb | 10 5 + 5 - 0 !
2 files changed, 6 insertions(+), 6 deletions(-)

 adjust default paths


0002 Adjust puppet master passenger paths.patch | (download)

ext/rack/config.ru | 11 5 + 6 - 0 !
ext/rack/example-passenger-vhost.conf | 4 2 + 2 - 0 !
2 files changed, 7 insertions(+), 8 deletions(-)

 adjust puppet master passenger paths

0003 add puppet3 compat middleware.patch | (download)

ext/rack/config.ru | 68 68 + 0 - 0 !
1 file changed, 68 insertions(+)

 add puppet 3 client compatibility under rack

0004 use systemd as the default service provider.patch | (download)

lib/puppet/provider/service/systemd.rb | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 mark systemd as the default service provider for debian

Currently systemd is marked as the default service provider only for Jessie.
Instead of extending this to Stretch, mark it as the default for Debian and
let the provider confinement blacklist systemd if /run/systemd/system does not
exist.

0005 debian service provider use service.patch | (download)

lib/puppet/provider/service/debian.rb | 15 15 + 0 - 0 !
1 file changed, 15 insertions(+)

 use /usr/sbin/service for service management on debian in debian
 jessie systemd will be the default init system. But the old system V and
 other alternative init systems are still supported. /usr/sbin/service
 provides an abstraction layer which is able to start,
 stop and restart services independent of the init system used.

Bug: https://tickets.puppetlabs.com/browse/PUP-2023
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775795
Comment: Initially for puppet 3.7, ported to puppet 4.8 by Apollon
 Oikonomopoulos <apoikos@debian.org>

0006 Fix service listing and enable disable in Debian.patch | (download)

lib/puppet/provider/service/debian.rb | 85 62 + 23 - 0 !
1 file changed, 62 insertions(+), 23 deletions(-)

 [patch] fix service listing and enable/disable in debian
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

 • Under systemd, use systemctl enable/disable for all services. This
   works correctly for all types of services. As of Stretch, systemctl
   is-enabled also works correctly for all service types

 • Fix self.instances to augment the list of systemd-enabled services
   with the sysv services.

 • Drop pre-2.88 sysv-rc support and use `update-rc.d enable' for
   all services when running under sysv-rc; in addition to simplifying things,
   this also preserves any ordering changes across enable/disable.

0007 fix locale loading.patch | (download)

lib/puppet/gettext/config.rb | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 override local loading path

Bug-Debian: https://bugs.debian.org/866972

Use the package's /usr/share/puppet/locale instead of /usr/share/locale.

0008 reproducible build.patch | (download)

lib/puppet/defaults.rb | 2 1 + 1 - 0 !
tasks/manpages.rake | 5 5 + 0 - 0 !
2 files changed, 6 insertions(+), 1 deletion(-)

 make the build reproducible

Bug-Debian: https://bugs.debian.org/891263
0009 Avoid BigDecimals when loading JSON using Oj.patch | (download)

lib/puppet/util/json.rb | 7 5 + 2 - 0 !
1 file changed, 5 insertions(+), 2 deletions(-)

 avoid bigdecimals when loading json using oj

This is already done for JrJackson and needs to be done for Oj as well
to avoid sending malformed reports to PuppetDB.

Bug-Debian: https://bugs.debian.org/923976

0010 maint Delete sync requires.patch | (download)

lib/puppet/configurer.rb | 1 0 + 1 - 0 !
lib/puppet/util/storage.rb | 1 0 + 1 - 0 !
2 files changed, 2 deletions(-)

 (maint) delete sync requires

Puppet used to rely on sync, but that was removed awhile ago. Remove the
orphaned require statements in preparation for ruby 2.7, as sync is now an
external gem.

(cherry picked from commit a53cb826b56b1531e7b0c1cd82d72f2f41ae6b09)

0011 PUP 10391 Quiet Ruby 2.7 URI.escape warning.patch | (download)

lib/puppet/forge.rb | 2 1 + 1 - 0 !
lib/puppet/forge/cache.rb | 2 1 + 1 - 0 !
lib/puppet/indirector/request.rb | 2 1 + 1 - 0 !
lib/puppet/network/http/rack/rest.rb | 2 1 + 1 - 0 !
lib/puppet/type/file/source.rb | 4 2 + 2 - 0 !
lib/puppet/util.rb | 24 22 + 2 - 0 !
lib/puppet/util/platform.rb | 3 3 + 0 - 0 !
spec/integration/type/file_spec.rb | 2 1 + 1 - 0 !
spec/unit/configurer/fact_handler_spec.rb | 8 4 + 4 - 0 !
spec/unit/indirector/request_spec.rb | 2 1 + 1 - 0 !
spec/unit/type/file/source_spec.rb | 6 3 + 3 - 0 !
spec/unit/type/file_spec.rb | 6 3 + 3 - 0 !
spec/unit/util_spec.rb | 6 3 + 3 - 0 !
13 files changed, 46 insertions(+), 23 deletions(-)

 (pup-10391) quiet ruby 2.7 uri.escape warning

Enable Ruby 2.7 without floating the warning about how URI.escape is obsolete.
After this, we will switch to using the Addressable gem to handle URI
encoding.

With the plan to switch to the Addressable gem to handle URI formatting,
this commit starts to consolidate calls to URI. The idea is we should
have a consistent API, so that when it comes time to switch over to
Addressable, the changes will be minimal.

URI.unesacpe was also deprecated, so also needs to be wrapped so we can
quiet the deprecation until we make the switch to Addressable.

URI.decode is an alias for URI.unescape, so let's sprinkle in some
consistency for fun.

[ Cherry-picked from 88229422d, including Puppet::Util::Platform.jruby?
  from 6c245809d0 and adjusted for 5.5.x by apoikos@debian.org ]

0012 fix ruby27 warning.patch | (download)

lib/puppet/file_system/file_impl.rb | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix ruby 2.7 warning

Last-Updated: 26-03-2020
0013 fix SAFE deprecation warning.patch | (download)

bin/puppet | 6 6 + 0 - 0 !
1 file changed, 6 insertions(+)

 deprecation warning in ruby 2.7: $safe will become a normal global variable in ruby 3.0

Last-Updated: 20-03-2021