pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/puppet sysutils/puppet: update to 7.7.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5c1dfbd45564
branches:  trunk
changeset: 453873:5c1dfbd45564
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Jun 03 15:09:37 2021 +0000

description:
sysutils/puppet: update to 7.7.0

This release remove restriction to Ruby < 3.

Puppet 7.7.0

Released June 2021.

We would like to thank the following Puppet community members for their
contributions to this release: tobias-urdin and nmaludy.

Enhancements

* Puppet loads internal files using the require_relative method

  When loading internal files, Puppet now uses the require_relative method,
  eliminating thousands of file system calls.  This accounts for between 5
  to 15% of the total number of file system calls for different
  platforms.  PUP-11055

* Case sensitive parameter for the fqdn_rand() function

  The fqdn_rand() function now accepts an optional parameter to downcase the
  FQDN fact, so that the function's result is not case sensitive.  You must
  pass the parameter after the seed string, for example, fqdn_rand(100,
  'expensive job 1', true).  By default, the function remains
  case-sensitive.  PUP-10922

* File limit with the max_files parameter

  By default, the file and tidy resource types generate a warning on the
  Puppet Enterprise (PE) console and report when Puppet tries to manage more
  than 1000 files with the recurse parameter set to true.  The file and tidy
  resource types now support a new parameter — max_files — that enforces a
  hard limit.  If the number of recursive files is greater than the limit,
  the agent run fails.  You can set the max_files parameter to -1 to disable
  the warning.  PUP-10946

* Improved Ruby performance

  This release improves the performance of Ruby, resulting in the follow
  changes:
    - Puppet now loads and runs faster -- particularly on Windows.  PA-3732
    - New Ruby performance patches -- reducing 50-90% of file IO when
      loading Puppet and Facter.  PA-3732

* Support for macOS 11 and Red Hat 8 Power

  This release adds support for macOS 11 Big Sur (64-bit packages only) and
  Red Hat 8 on IBM Power.  PA-3529, PA-3612.

Resolved issues

* Ruby 3 freezes CHILD_STATUS and cannot be stubbed

  This release eliminates the usage of the $CHILD_STATUS global variable in
  the built-in service and package providers.  PUP-11048

* Ruby 3 removed URI.escape/unescape

  This release eliminates calls to URI.escape/unescape, which was deprecated
  in Ruby 2.x and removed in Ruby 3.  PUP-11046

* Agent failures with server_list

  Previously, when Puppet processed server_list and tried to find a
  functional server, it threw an error if it could not connect, causing the
  agent to fail.  This is now fixed.  PUP-10844

* Puppet does not specify SELinux filetype when getting the default context

  Previously, Puppet created files with the wrong default SELinux context,
  which was only corrected after a subsequent Puppet run.  This is now
  fixed.  Contributed by Puppet community member tobias-urdin. PUP-7559

* Unable to mask a static systemd service

  This release fixes an issue where the systemd provider did not mask static
  systemd services.  Contributed by Puppet community member nmaludy.
  PUP-11034

* Unable to update UserRightAssignment

  Previously, validating the logonaccount and logonpassword parameters for
  the service resource on Windows failed too early.  This release moves the
  parameters further down the catalog compilation order list to avoid early
  errors.  PUP-10999

* PUPPET_SERVER MSI install property does not work

  Previously, using PUPPET_SERVER as an MSI property did not set the server
  setting.  This is now fixed.  PA-3667

diffstat:

 sysutils/puppet/Makefile |   9 +++------
 sysutils/puppet/PLIST    |   3 ++-
 sysutils/puppet/distinfo |  10 +++++-----
 3 files changed, 10 insertions(+), 12 deletions(-)

diffs (66 lines):

diff -r 10df60cea71f -r 5c1dfbd45564 sysutils/puppet/Makefile
--- a/sysutils/puppet/Makefile  Thu Jun 03 15:06:05 2021 +0000
+++ b/sysutils/puppet/Makefile  Thu Jun 03 15:09:37 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.50 2021/05/09 14:33:40 taca Exp $
+# $NetBSD: Makefile,v 1.51 2021/06/03 15:09:37 taca Exp $
 
-DISTNAME=              puppet-7.6.1
+DISTNAME=              puppet-7.7.0
 CATEGORIES=            sysutils
 #MASTER_SITES=         http://puppetlabs.com/downloads/puppet/
 
@@ -9,7 +9,7 @@
 COMMENT=               Configuration management framework written in Ruby
 LICENSE=               apache-2.0
 
-DEPENDS+=      ${RUBY_PKGPREFIX}-facter>=2.0.1:../../sysutils/ruby-facter
+DEPENDS+=      ${RUBY_PKGPREFIX}-facter>=4.2.0:../../sysutils/ruby-facter
 DEPENDS+=      ${RUBY_PKGPREFIX}-hiera>=3.2.1:../../databases/ruby-hiera
 DEPENDS+=      ${RUBY_PKGPREFIX}-semantic_puppet>=1.0<2:../../devel/ruby-semantic_puppet
 DEPENDS+=      ${RUBY_PKGPREFIX}-fast_gettext>=1.1:../../devel/ruby-fast_gettext
@@ -20,9 +20,6 @@
 DEPENDS+=      ${RUBY_PKGPREFIX}-deep_merge>=1.0<2:../../devel/ruby-deep_merge
 DEPENDS+=      ${RUBY_PKGPREFIX}-scanf>=1.0.0<2:../../devel/ruby-scanf
 
-# sysutils/ruby-facter dose not support Ruby 3
-RUBY_VERSIONS_INCOMPATIBLE=    30
-
 RUBYGEM_OPTIONS+=      --format-executable
 OVERRIDE_GEMSPEC+=     fast_gettext>=1.1
 USE_LANAUGES=          # none
diff -r 10df60cea71f -r 5c1dfbd45564 sysutils/puppet/PLIST
--- a/sysutils/puppet/PLIST     Thu Jun 03 15:06:05 2021 +0000
+++ b/sysutils/puppet/PLIST     Thu Jun 03 15:09:37 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.30 2021/05/09 14:33:40 taca Exp $
+@comment $NetBSD: PLIST,v 1.31 2021/06/03 15:09:37 taca Exp $
 bin/puppet${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/CODEOWNERS
@@ -1706,6 +1706,7 @@
 ${GEM_LIBDIR}/spec/shared_contexts/checksum.rb
 ${GEM_LIBDIR}/spec/shared_contexts/digests.rb
 ${GEM_LIBDIR}/spec/shared_contexts/https.rb
+${GEM_LIBDIR}/spec/shared_contexts/provider.rb
 ${GEM_LIBDIR}/spec/shared_contexts/types_setup.rb
 ${GEM_LIBDIR}/spec/shared_examples/rhel_package_provider.rb
 ${GEM_LIBDIR}/spec/spec_helper.rb
diff -r 10df60cea71f -r 5c1dfbd45564 sysutils/puppet/distinfo
--- a/sysutils/puppet/distinfo  Thu Jun 03 15:06:05 2021 +0000
+++ b/sysutils/puppet/distinfo  Thu Jun 03 15:09:37 2021 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.32 2021/05/09 14:33:40 taca Exp $
+$NetBSD: distinfo,v 1.33 2021/06/03 15:09:37 taca Exp $
 
-SHA1 (puppet-7.6.1.gem) = cea5fe26d2a8586090211be3f2206ed79988148b
-RMD160 (puppet-7.6.1.gem) = d56265c8321b79df8f1d564816c9d9f960587a89
-SHA512 (puppet-7.6.1.gem) = 86b87ddf28e61d4dc7b8ddd44adbec3e839b2fa53083d741bff71a0871f9a0e9882c8fceca61f95c058631618514abebfa1aa9c8a2f3b5c03e32f3de6a20a7fe
-Size (puppet-7.6.1.gem) = 2819072 bytes
+SHA1 (puppet-7.7.0.gem) = 5b0dd7cd1fc35905fd826f287d2caf02a1fe091f
+RMD160 (puppet-7.7.0.gem) = 466a9d6bbee5cbb0ea8f49a11e8a7724972d5318
+SHA512 (puppet-7.7.0.gem) = 7597703b943e5a31346974c0f799fc36ccceb473feae8d78494451e737bb7428d575b7e9b957c54c31bd3ce1d5fd68155fc8b2e4a5ab85529cb816bed18aa7e7
+Size (puppet-7.7.0.gem) = 2847232 bytes
 SHA1 (patch-aa) = 8b25b975647023902f5d84cc2980f777f23e789c
 SHA1 (patch-ab) = 2e80fc9ca8a9326d69c72149e6fd97738cfd2e1e
 SHA1 (patch-ac) = 38fd0797438e9d6dcbc88e99354dae4ef0b9cba0


Home | Main Index | Thread Index | Old Index