Package: puppet / 4.8.2-5

Metadata

Package Version Patches format
puppet 4.8.2-5 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 fix puppet master logcheck rule.patch | (download)

ext/logcheck/puppet | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix puppet-master logcheck rule


0004 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
 Add a Rack middleware re-implementing the v1 and v2 API calls, as
 per[1]. This should restore compatibility with Puppet 3 clients when
 run under any rack-enabled server (including Passenger).
0005 use systemd as the default service provider.patch | (download)

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

 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.
0006 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>

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

lib/puppet/provider/service/debian.rb | 87 63 + 24 - 0 !
1 file changed, 63 insertions(+), 24 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.

0008 CVE 2017 2295.patch | (download)

lib/puppet/indirector/catalog/compiler.rb | 6 4 + 2 - 0 !
spec/unit/indirector/catalog/compiler_spec.rb | 36 32 + 4 - 0 !
2 files changed, 36 insertions(+), 6 deletions(-)

 [patch] (pup-7483) reject all fact formats except pson

Previously, an authenticated user could cause the master to execute
YAML.load on user-specified input, as well as MessagePack.unpack if the
msgpack gem was installed.

Since 3.2.2, agents have always sent facts as PSON. There is no reason
to support other formats, so reject all fact formats except PSON.

(cherry picked from commit 06d8c51367ca932b9da5d9b01958cfc0adf0f2ea)