Thu Jun 3 15:09:37 2021 UTC ()
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


(taca)
diff -r1.50 -r1.51 pkgsrc/sysutils/puppet/Makefile
diff -r1.30 -r1.31 pkgsrc/sysutils/puppet/PLIST
diff -r1.32 -r1.33 pkgsrc/sysutils/puppet/distinfo

cvs diff -r1.50 -r1.51 pkgsrc/sysutils/puppet/Makefile (expand / switch to unified diff)

--- pkgsrc/sysutils/puppet/Makefile 2021/05/09 14:33:40 1.50
+++ pkgsrc/sysutils/puppet/Makefile 2021/06/03 15:09:37 1.51
@@ -1,38 +1,35 @@ @@ -1,38 +1,35 @@
1# $NetBSD: Makefile,v 1.50 2021/05/09 14:33:40 taca Exp $ 1# $NetBSD: Makefile,v 1.51 2021/06/03 15:09:37 taca Exp $
2 2
3DISTNAME= puppet-7.6.1 3DISTNAME= puppet-7.7.0
4CATEGORIES= sysutils 4CATEGORIES= sysutils
5#MASTER_SITES= http://puppetlabs.com/downloads/puppet/ 5#MASTER_SITES= http://puppetlabs.com/downloads/puppet/
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
8HOMEPAGE= http://www.puppetlabs.com/ 8HOMEPAGE= http://www.puppetlabs.com/
9COMMENT= Configuration management framework written in Ruby 9COMMENT= Configuration management framework written in Ruby
10LICENSE= apache-2.0 10LICENSE= apache-2.0
11 11
12DEPENDS+= ${RUBY_PKGPREFIX}-facter>=2.0.1:../../sysutils/ruby-facter 12DEPENDS+= ${RUBY_PKGPREFIX}-facter>=4.2.0:../../sysutils/ruby-facter
13DEPENDS+= ${RUBY_PKGPREFIX}-hiera>=3.2.1:../../databases/ruby-hiera 13DEPENDS+= ${RUBY_PKGPREFIX}-hiera>=3.2.1:../../databases/ruby-hiera
14DEPENDS+= ${RUBY_PKGPREFIX}-semantic_puppet>=1.0<2:../../devel/ruby-semantic_puppet 14DEPENDS+= ${RUBY_PKGPREFIX}-semantic_puppet>=1.0<2:../../devel/ruby-semantic_puppet
15DEPENDS+= ${RUBY_PKGPREFIX}-fast_gettext>=1.1:../../devel/ruby-fast_gettext 15DEPENDS+= ${RUBY_PKGPREFIX}-fast_gettext>=1.1:../../devel/ruby-fast_gettext
16DEPENDS+= ${RUBY_PKGPREFIX}-locale>=2.1<3:../../devel/ruby-locale 16DEPENDS+= ${RUBY_PKGPREFIX}-locale>=2.1<3:../../devel/ruby-locale
17DEPENDS+= ${RUBY_PKGPREFIX}-multi_json>=1.10<2:../../textproc/ruby-multi_json 17DEPENDS+= ${RUBY_PKGPREFIX}-multi_json>=1.10<2:../../textproc/ruby-multi_json
18DEPENDS+= ${RUBY_PKGPREFIX}-puppet-resource_api>=1.5<2:../../sysutils/ruby-puppet-resource_api 18DEPENDS+= ${RUBY_PKGPREFIX}-puppet-resource_api>=1.5<2:../../sysutils/ruby-puppet-resource_api
19DEPENDS+= ${RUBY_PKGPREFIX}-concurrent-ruby>=1.0<2:../../devel/ruby-concurrent-ruby 19DEPENDS+= ${RUBY_PKGPREFIX}-concurrent-ruby>=1.0<2:../../devel/ruby-concurrent-ruby
20DEPENDS+= ${RUBY_PKGPREFIX}-deep_merge>=1.0<2:../../devel/ruby-deep_merge 20DEPENDS+= ${RUBY_PKGPREFIX}-deep_merge>=1.0<2:../../devel/ruby-deep_merge
21DEPENDS+= ${RUBY_PKGPREFIX}-scanf>=1.0.0<2:../../devel/ruby-scanf 21DEPENDS+= ${RUBY_PKGPREFIX}-scanf>=1.0.0<2:../../devel/ruby-scanf
22 22
23# sysutils/ruby-facter dose not support Ruby 3 
24RUBY_VERSIONS_INCOMPATIBLE= 30 
25 
26RUBYGEM_OPTIONS+= --format-executable 23RUBYGEM_OPTIONS+= --format-executable
27OVERRIDE_GEMSPEC+= fast_gettext>=1.1 24OVERRIDE_GEMSPEC+= fast_gettext>=1.1
28USE_LANAUGES= # none 25USE_LANAUGES= # none
29 26
30PKG_SYSCONFSUBDIR= puppet 27PKG_SYSCONFSUBDIR= puppet
31RCD_SCRIPTS= puppetd puppetmasterd 28RCD_SCRIPTS= puppetd puppetmasterd
32 29
33SUBST_CLASSES+= prefix 30SUBST_CLASSES+= prefix
34SUBST_STAGE.prefix= pre-configure 31SUBST_STAGE.prefix= pre-configure
35SUBST_FILES.prefix= install.rb 32SUBST_FILES.prefix= install.rb
36SUBST_FILES.prefix+= lib/puppet/face/module/changes.rb 33SUBST_FILES.prefix+= lib/puppet/face/module/changes.rb
37SUBST_FILES.prefix+= lib/puppet/face/module/install.rb 34SUBST_FILES.prefix+= lib/puppet/face/module/install.rb
38SUBST_FILES.prefix+= lib/puppet/face/module/list.rb 35SUBST_FILES.prefix+= lib/puppet/face/module/list.rb

cvs diff -r1.30 -r1.31 pkgsrc/sysutils/puppet/PLIST (expand / switch to unified diff)

--- pkgsrc/sysutils/puppet/PLIST 2021/05/09 14:33:40 1.30
+++ pkgsrc/sysutils/puppet/PLIST 2021/06/03 15:09:37 1.31
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.30 2021/05/09 14:33:40 taca Exp $ 1@comment $NetBSD: PLIST,v 1.31 2021/06/03 15:09:37 taca Exp $
2bin/puppet${RUBY_SUFFIX} 2bin/puppet${RUBY_SUFFIX}
3${GEM_HOME}/cache/${GEM_NAME}.gem 3${GEM_HOME}/cache/${GEM_NAME}.gem
4${GEM_LIBDIR}/CODEOWNERS 4${GEM_LIBDIR}/CODEOWNERS
5${GEM_LIBDIR}/CODE_OF_CONDUCT.md 5${GEM_LIBDIR}/CODE_OF_CONDUCT.md
6${GEM_LIBDIR}/CONTRIBUTING.md 6${GEM_LIBDIR}/CONTRIBUTING.md
7${GEM_LIBDIR}/Gemfile 7${GEM_LIBDIR}/Gemfile
8${GEM_LIBDIR}/Gemfile.lock 8${GEM_LIBDIR}/Gemfile.lock
9${GEM_LIBDIR}/Guardfile.example 9${GEM_LIBDIR}/Guardfile.example
10${GEM_LIBDIR}/LICENSE 10${GEM_LIBDIR}/LICENSE
11${GEM_LIBDIR}/README.md 11${GEM_LIBDIR}/README.md
12${GEM_LIBDIR}/Rakefile 12${GEM_LIBDIR}/Rakefile
13${GEM_LIBDIR}/bin/puppet 13${GEM_LIBDIR}/bin/puppet
14${GEM_LIBDIR}/conf/environment.conf 14${GEM_LIBDIR}/conf/environment.conf
@@ -1696,26 +1696,27 @@ ${GEM_LIBDIR}/spec/shared_behaviours/all @@ -1696,26 +1696,27 @@ ${GEM_LIBDIR}/spec/shared_behaviours/all
1696${GEM_LIBDIR}/spec/shared_behaviours/an_indirector_face.rb 1696${GEM_LIBDIR}/spec/shared_behaviours/an_indirector_face.rb
1697${GEM_LIBDIR}/spec/shared_behaviours/documentation_on_faces.rb 1697${GEM_LIBDIR}/spec/shared_behaviours/documentation_on_faces.rb
1698${GEM_LIBDIR}/spec/shared_behaviours/file_server_terminus.rb 1698${GEM_LIBDIR}/spec/shared_behaviours/file_server_terminus.rb
1699${GEM_LIBDIR}/spec/shared_behaviours/file_serving.rb 1699${GEM_LIBDIR}/spec/shared_behaviours/file_serving.rb
1700${GEM_LIBDIR}/spec/shared_behaviours/hiera_indirections.rb 1700${GEM_LIBDIR}/spec/shared_behaviours/hiera_indirections.rb
1701${GEM_LIBDIR}/spec/shared_behaviours/iterative_functions.rb 1701${GEM_LIBDIR}/spec/shared_behaviours/iterative_functions.rb
1702${GEM_LIBDIR}/spec/shared_behaviours/memory_terminus.rb 1702${GEM_LIBDIR}/spec/shared_behaviours/memory_terminus.rb
1703${GEM_LIBDIR}/spec/shared_behaviours/path_parameters.rb 1703${GEM_LIBDIR}/spec/shared_behaviours/path_parameters.rb
1704${GEM_LIBDIR}/spec/shared_behaviours/store_configs_terminus.rb 1704${GEM_LIBDIR}/spec/shared_behaviours/store_configs_terminus.rb
1705${GEM_LIBDIR}/spec/shared_behaviours/things_that_declare_options.rb 1705${GEM_LIBDIR}/spec/shared_behaviours/things_that_declare_options.rb
1706${GEM_LIBDIR}/spec/shared_contexts/checksum.rb 1706${GEM_LIBDIR}/spec/shared_contexts/checksum.rb
1707${GEM_LIBDIR}/spec/shared_contexts/digests.rb 1707${GEM_LIBDIR}/spec/shared_contexts/digests.rb
1708${GEM_LIBDIR}/spec/shared_contexts/https.rb 1708${GEM_LIBDIR}/spec/shared_contexts/https.rb
 1709${GEM_LIBDIR}/spec/shared_contexts/provider.rb
1709${GEM_LIBDIR}/spec/shared_contexts/types_setup.rb 1710${GEM_LIBDIR}/spec/shared_contexts/types_setup.rb
1710${GEM_LIBDIR}/spec/shared_examples/rhel_package_provider.rb 1711${GEM_LIBDIR}/spec/shared_examples/rhel_package_provider.rb
1711${GEM_LIBDIR}/spec/spec_helper.rb 1712${GEM_LIBDIR}/spec/spec_helper.rb
1712${GEM_LIBDIR}/spec/unit/agent/disabler_spec.rb 1713${GEM_LIBDIR}/spec/unit/agent/disabler_spec.rb
1713${GEM_LIBDIR}/spec/unit/agent/locker_spec.rb 1714${GEM_LIBDIR}/spec/unit/agent/locker_spec.rb
1714${GEM_LIBDIR}/spec/unit/agent_spec.rb 1715${GEM_LIBDIR}/spec/unit/agent_spec.rb
1715${GEM_LIBDIR}/spec/unit/application/agent_spec.rb 1716${GEM_LIBDIR}/spec/unit/application/agent_spec.rb
1716${GEM_LIBDIR}/spec/unit/application/apply_spec.rb 1717${GEM_LIBDIR}/spec/unit/application/apply_spec.rb
1717${GEM_LIBDIR}/spec/unit/application/config_spec.rb 1718${GEM_LIBDIR}/spec/unit/application/config_spec.rb
1718${GEM_LIBDIR}/spec/unit/application/describe_spec.rb 1719${GEM_LIBDIR}/spec/unit/application/describe_spec.rb
1719${GEM_LIBDIR}/spec/unit/application/device_spec.rb 1720${GEM_LIBDIR}/spec/unit/application/device_spec.rb
1720${GEM_LIBDIR}/spec/unit/application/doc_spec.rb 1721${GEM_LIBDIR}/spec/unit/application/doc_spec.rb
1721${GEM_LIBDIR}/spec/unit/application/face_base_spec.rb 1722${GEM_LIBDIR}/spec/unit/application/face_base_spec.rb

cvs diff -r1.32 -r1.33 pkgsrc/sysutils/puppet/distinfo (expand / switch to unified diff)

--- pkgsrc/sysutils/puppet/distinfo 2021/05/09 14:33:40 1.32
+++ pkgsrc/sysutils/puppet/distinfo 2021/06/03 15:09:37 1.33
@@ -1,11 +1,11 @@ @@ -1,11 +1,11 @@
1$NetBSD: distinfo,v 1.32 2021/05/09 14:33:40 taca Exp $ 1$NetBSD: distinfo,v 1.33 2021/06/03 15:09:37 taca Exp $
2 2
3SHA1 (puppet-7.6.1.gem) = cea5fe26d2a8586090211be3f2206ed79988148b 3SHA1 (puppet-7.7.0.gem) = 5b0dd7cd1fc35905fd826f287d2caf02a1fe091f
4RMD160 (puppet-7.6.1.gem) = d56265c8321b79df8f1d564816c9d9f960587a89 4RMD160 (puppet-7.7.0.gem) = 466a9d6bbee5cbb0ea8f49a11e8a7724972d5318
5SHA512 (puppet-7.6.1.gem) = 86b87ddf28e61d4dc7b8ddd44adbec3e839b2fa53083d741bff71a0871f9a0e9882c8fceca61f95c058631618514abebfa1aa9c8a2f3b5c03e32f3de6a20a7fe 5SHA512 (puppet-7.7.0.gem) = 7597703b943e5a31346974c0f799fc36ccceb473feae8d78494451e737bb7428d575b7e9b957c54c31bd3ce1d5fd68155fc8b2e4a5ab85529cb816bed18aa7e7
6Size (puppet-7.6.1.gem) = 2819072 bytes 6Size (puppet-7.7.0.gem) = 2847232 bytes
7SHA1 (patch-aa) = 8b25b975647023902f5d84cc2980f777f23e789c 7SHA1 (patch-aa) = 8b25b975647023902f5d84cc2980f777f23e789c
8SHA1 (patch-ab) = 2e80fc9ca8a9326d69c72149e6fd97738cfd2e1e 8SHA1 (patch-ab) = 2e80fc9ca8a9326d69c72149e6fd97738cfd2e1e
9SHA1 (patch-ac) = 38fd0797438e9d6dcbc88e99354dae4ef0b9cba0 9SHA1 (patch-ac) = 38fd0797438e9d6dcbc88e99354dae4ef0b9cba0
10SHA1 (patch-ae) = c1305e171ddb24f5f6ce0ec71def7aac77b6b64e 10SHA1 (patch-ae) = c1305e171ddb24f5f6ce0ec71def7aac77b6b64e
11SHA1 (patch-lib_puppet_util_command__line.rb) = a15aa55703a6f437b2ee0f7137ee1820318f13e0 11SHA1 (patch-lib_puppet_util_command__line.rb) = a15aa55703a6f437b2ee0f7137ee1820318f13e0