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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ce4974ff3436
branches:  trunk
changeset: 771173:ce4974ff3436
user:      taca <taca%pkgsrc.org@localhost>
date:      Tue Dec 14 14:47:28 2021 +0000

description:
sysutils/puppet: update to 7.13.1

Puppet 7.13.1 (2021-12-09)

Enhancements

ENC enforced environment bypass

Changed the priority of the --environment option by skipping the
classification whenever the flag is specified.  This allows the user to
bypass the ENC enforced environment with the CLI option.  PUP-7479

Resolved issues

Puppet::FileSystem.chmod does not validate its arguments
Puppet::FileSystem.chmod now validates its arguments like other
methods.  PUP-11345
Warning: #<Puppet::Transaction::Persistence after upgrading to Puppet agent
6.25.0

Fixes a regression introduced in 6.25.0 and 7.10.0 that caused a
Puppet::Transaction::Persistence warning during each agent run. PUP-11321

User resource tries to create rather than modify users created by a utility

This release moves the ssh_authorized_key resource's creation to the end of
the user type flow, after all user properties and parameters were resolved,
to avoid order dependency errors.  PUP-11320

Puppet code merger using incorrect command

Reduces memory usage when parsing manifests. PUP-11318

Failure when using the names "apply" and "plan" within an apply() block in a
plan

The names "apply" and "plan" can now be used as resource parameter names in
all cases.  Previously, using them within an apply() block in a plan would
fail.  PUP-11315

Puppet attempts to execute directories from /etc/init.d/

Prevents Puppet from considering directories from /etc/init.d/ as
services.  PUP-11313

Puppet creates excessive Pathname instances

Reduces the number of Pathname allocations when parsing Puppet manifests.
PUP-11312

Pathname.absolute? uses excessive memory

Backported Ruby patch to Pathname.absolute? to reduce memory usage.
PUP-11311

High memory consumption from lib/puppet/pops/parser/lexer2.rb

Reduced lexer2 memory usage.  PUP-11236

versioncmp() treats 11.0 as greater than 11

versioncmp() now strips redundant numbers.  PUP-11235

puppet lookup --facts {filename} fails if filename does not contain a dot

Before this release, puppet lookup --facts {filename} failed early when the
filename given did not contain a dot.  This fix removes the early extensions
check and adds a fallback instead: tries both formats (JSON then YAML) to
read the given facts file when its path doesn't end with any of the expected
extensions (yaml/yml/json).  Otherwise, it follows previous implementation
and respects the given extension.  PUP-11204

Facts provided in a file cannot be used for classification

Fixed a bug where facts provided in a file were not being merged with the
facts used for classification.  This is because Puppet collected and merged
the said facts after the classification happened.  To fix this, we ensured
that Puppet resolves the facts being used for classification before the node
request.  PUP-10435

Inconsistent handling of trusted facts in the lookup CLI

When using puppet lookup with --facts, if the facts file overrides any of
hostname, domain, fqdn, clientcert, then it must override all of them.
Also, if a value for certname is provided in a fact file for the lookup
application, use it when creating the trusted information object.  This
makes it possible to override trusted.certname for classification.  PUP-8220

Lookup ignores environment from the classifier when using a rule with
trusted facts

Fixed an issue where trusted facts could not be used as rules for
classification.  This was fixed by gathering the trusted facts from the
PuppetDB query result, and overriding the trusted facts context.  PUP-8094

Misleading results when using --node flag in puppet lookup

Fixed an issue where puppet lookup would result in misleading results when
using the --node flag.  This happened because there can be cases where the
target node does not have any facts cached.  To avoid this, the fix
implemented checks for the node facts/facts given in a fact file, and if it
doesn't find any it raises an error.  PUP-7362

Files starting with "~" in recursive directories are evaluated as usernames

Puppet can now manage files whose names start with tilde "~" characters.
PUP-5800

Failed to generate additional resources using 'eval_generate': Cannot manage
files of type socket

This release allows Puppet to retrieve attributes for fifo and socket files
and manage them when the given manifest has a file resource which is
recursing over a given path.  PUP-4045

diffstat:

 sysutils/puppet/Makefile |  4 ++--
 sysutils/puppet/PLIST    |  4 +++-
 sysutils/puppet/distinfo |  8 ++++----
 3 files changed, 9 insertions(+), 7 deletions(-)

diffs (53 lines):

diff -r ecae274a6f25 -r ce4974ff3436 sysutils/puppet/Makefile
--- a/sysutils/puppet/Makefile  Tue Dec 14 14:33:33 2021 +0000
+++ b/sysutils/puppet/Makefile  Tue Dec 14 14:47:28 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.52 2021/12/12 13:38:01 taca Exp $
+# $NetBSD: Makefile,v 1.53 2021/12/14 14:47:28 taca Exp $
 
-DISTNAME=              puppet-7.12.1
+DISTNAME=              puppet-7.13.1
 CATEGORIES=            sysutils
 #MASTER_SITES=         http://puppetlabs.com/downloads/puppet/
 
diff -r ecae274a6f25 -r ce4974ff3436 sysutils/puppet/PLIST
--- a/sysutils/puppet/PLIST     Tue Dec 14 14:33:33 2021 +0000
+++ b/sysutils/puppet/PLIST     Tue Dec 14 14:47:28 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.32 2021/12/12 13:38:01 taca Exp $
+@comment $NetBSD: PLIST,v 1.33 2021/12/14 14:47:28 taca Exp $
 bin/puppet${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/CODEOWNERS
@@ -1667,6 +1667,7 @@
 ${GEM_LIBDIR}/spec/unit/application_spec.rb
 ${GEM_LIBDIR}/spec/unit/certificate_factory_spec.rb
 ${GEM_LIBDIR}/spec/unit/concurrent/lock_spec.rb
+${GEM_LIBDIR}/spec/unit/concurrent/thread_local_singleton_spec.rb
 ${GEM_LIBDIR}/spec/unit/configurer/downloader_spec.rb
 ${GEM_LIBDIR}/spec/unit/configurer/fact_handler_spec.rb
 ${GEM_LIBDIR}/spec/unit/configurer/plugin_handler_spec.rb
@@ -2263,6 +2264,7 @@
 ${GEM_LIBDIR}/spec/unit/util/filetype_spec.rb
 ${GEM_LIBDIR}/spec/unit/util/inifile_spec.rb
 ${GEM_LIBDIR}/spec/unit/util/json_lockfile_spec.rb
+${GEM_LIBDIR}/spec/unit/util/json_spec.rb
 ${GEM_LIBDIR}/spec/unit/util/ldap/connection_spec.rb
 ${GEM_LIBDIR}/spec/unit/util/ldap/generator_spec.rb
 ${GEM_LIBDIR}/spec/unit/util/ldap/manager_spec.rb
diff -r ecae274a6f25 -r ce4974ff3436 sysutils/puppet/distinfo
--- a/sysutils/puppet/distinfo  Tue Dec 14 14:33:33 2021 +0000
+++ b/sysutils/puppet/distinfo  Tue Dec 14 14:47:28 2021 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.36 2021/12/12 13:38:01 taca Exp $
+$NetBSD: distinfo,v 1.37 2021/12/14 14:47:28 taca Exp $
 
-BLAKE2s (puppet-7.12.1.gem) = 8c99178f2a25d30aea01ceb1129d8f5774fe1a8dca4a57093135169ae05e3acf
-SHA512 (puppet-7.12.1.gem) = 2cb099f88bde78ab3f9067ebad7842999b7b0854b3616a6e604e90837671cd10614f1fea9ab3e771f36dc00e5603220bebbb7c2e559c7430bc3db2d0fd7afcfe
-Size (puppet-7.12.1.gem) = 2825216 bytes
+BLAKE2s (puppet-7.13.1.gem) = f8359fbac825786d44b551fb01fe48cf7684735a5ad68d63dbfe73a1c288eaa9
+SHA512 (puppet-7.13.1.gem) = 4533ee32189172ba198b06e911ec07af1d7f6082cd034c0f1f13b1c22b5dcaddb08bb6fd2485b0c85490683aa476a383cbc81b0beeb736a7ad7efb3840a71bda
+Size (puppet-7.13.1.gem) = 2829312 bytes
 SHA1 (patch-aa) = 8b25b975647023902f5d84cc2980f777f23e789c
 SHA1 (patch-ab) = 2e80fc9ca8a9326d69c72149e6fd97738cfd2e1e
 SHA1 (patch-ac) = 38fd0797438e9d6dcbc88e99354dae4ef0b9cba0



Home | Main Index | Thread Index | Old Index