./sysutils/puppet, Configuration management framework written in Ruby

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 7.7.0, Package name: ruby27-puppet-7.7.0, Maintainer: pkgsrc-users

Puppet lets you centrally manage every important aspect of your system using
a cross-platform specification language that manages all the separate
elements normally aggregated in different files, like users, cron jobs, and
hosts, along with obviously discrete elements like packages, services, and

Required to run:
[sysutils/ruby-facter] [devel/ruby-locale] [www/ruby-httpclient] [textproc/ruby-multi_json] [devel/ruby-fast_gettext] [databases/ruby-hiera] [devel/ruby-concurrent-ruby] [devel/ruby-semantic_puppet] [sysutils/ruby-puppet-resource_api] [lang/ruby26-base] [devel/ruby-deep_merge]

Required to build:

Master sites:

RMD160: 466a9d6bbee5cbb0ea8f49a11e8a7724972d5318
Filesize: 2780.5 KB

Version history: (Expand)

CVS history: (Expand)

   2021-10-07 16:58:44 by Nia Alarie | Files touched by this commit (630)
Log message:
sysutils: Remove SHA1 hashes for distfiles
   2021-06-03 17:09:37 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
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.


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

* 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
   2021-05-09 16:33:40 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
sysutils/puppet: update to 7.6.1

Puppet 7.6.1
Released April 2021.

We would like to thank the following Puppet community members for their
contributions to this release: gcampbell12 and ananace.


Puppet module type scripts directory

This release adds a new subdirectory to the scripts/ module class.  It
automatically generates the functions in the class and retrieves the
available scripts.  This helps to standardize specific file loading from
either the files directory or scripts directory.  PUP-10996

Backport logic to detect migrated CA directory location

After migrating the CA directory, Puppet now reports the correct cadir
setting value. PUP-11004

Resolved issues

Race condition with agent_disabled_lockfile

This release fixes a race condition that caused the agent to become disabled
and no longer enforce desired state.  Contributed by Puppet community member
gcampbell12.  PUP-11000

User resource with forcelocal and groups attributes set fails if /etc/group \ 
contains empty lines

This release fixes an issue where Puppet failed when applying user resources
with forcelocal if there were empty lines in /etc/group.  PUP-10997

Unable to install gems with the puppet_gem provider on Windows

Previously, if you used Puppet as a library, environment.bat was not sourced
and led to an unset PUPPET_DIR.  As puppet_gem relied on this to build the
gem.bat path, it used a non-existing path, making this provider unsuitable.
This release updates the puppet_gem provider to use Gem.default_bindir,
which determines the location of the executables.  To avoid accidental usage
of the puppet_gem provider with system Ruby, we have also added a confine to
the aio_agent_version fact.  PUP-10964

Changing a Puppet setting in a catalog invalidates the environment cache in \ 
multithreaded mode

You can now change the value of Puppet's rich_data setting at runtime,
without it invalidating the environment cache.  PUP-10952

Puppet cannot parse systemd instances when list-unit-files output has an \ 
additional column

This release fixes an issue affecting the parsing of systemd service
instances caused by a change in the systemctl list-unit-files command
output.  PUP-10949

Cannot ensure dnfmodule with no default profile

Previously, using the dnfmodule provider to install a module with no default
profile -- without passing the enable_only parameter -- failed with newer
versions of DNF.  PUP-11024
   2021-03-21 14:22:01 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
sysutils/puppet: update to 7.5.0

Puppet 7.5.0				Released 16 March 2021.

New features

* The puppet ssl show command

  The puppet ssl show command prints the full-text version of a host's
  certificate, including extensions. PUP-10888

* The ciphers setting

  The ciphers setting configures which TLS ciphersuites the agent
  supports. The default set of ciphersuites is the same, but you can now
  make the list of ciphersuites more restricted, for example, to only accept
  TLS v1.2 or greater ciphersuites. PUP-10889

* The GlobalSignRoot CA R3

  This release adds the GlobalSignRoot CA R3 certificate for
  rubygems.org. PA-3525

Resolved issues

* The splat operator in a virtual query is not supported

  This release fixes a regression in Puppet 7.x that prevented the splat
  operator from being used to override resource attributes in a resource
  collector. PUP-10951

* Windows package provider continues to read DisplayVersion key after it is \ 
embedded NULL

  Previously, Puppet would not stop reading the registry at the correct
  WCHAR_NULL because it was encoded to UTF-16LE, causing Puppet to read bad
  data and fail. This is now fixed. PUP-10943

* Listing environments during code deploys prevents environment cache invalidation

  Previously, catalog compilations for a newly created environment directory
  could fail if the environment was listed while the directory was being
  created. This issue only occurred when using an environment_timeout value
  greater than 0 and less than unlimited. This is now fixed. PUP-10942

* Syntax error in previously valid Puppet code due to removal of keywords

  The application, consumes, produces and site application orchestration
  keywords were previously removed from the reserved keywords list, causing
  syntax errors in Puppet code. This is now fixed. PUP-10929


  A known issue with LookupAccountNameW caused Puppet to fail when managing
  Windows users under APPLICATION PACKAGE AUTHORITY with fully qualified
  names. This is now fixed and an account name sanitization step has been
  added to prevent faulty queries. PUP-10899

* Retrieving the current user with the fully-qualified username fails on

  Previously, retrieving the current username SID on Windows caused Puppet
  to fail in certain scenarios, for example, when the user was a secondary
  domain controller. This release adds a fallback mechanism that uses the
  fully qualified domain name for lookup. PUP-10898
   2021-03-07 15:28:03 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
sysutils/puppet: update to 7.4.1

Puppet 7.4.1
Released 16 February 2021.

* Resolved issues

* Puppet users with forcelocal are no longer idempotent

  This release fixes a regression where setting the gid parameter on a user
  resource with forcelocal was not idempotent. PUP-10896
   2021-02-14 16:16:13 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
sysutils/puppet: update to 7.4.0

pkgsrc change: mark this package incompatible.

Puppet 7.4.0					Released 9 February 2021.

New features

--timing option in puppet facts show

  This release adds a --timing option in the puppet facts show
  command. This flag shows you how much time it takes to resolve each
  fact. PUP-10858

Resolved issues

User resource with forcelocal uses getent for groups

  The useradd provider now checks the forcelocal parameter and gets local
  information on the groups (from /etc/groups) and gid (from etc/passwd)
  of the user when requested. PUP-10857

Slow Puppet agent run after upgrade to version 6

  This release improves the performance of the apt package provider when
  removing packages by reducing the calls to apt-mark
  showmanual. PUP-10856

The apt provider does not work with local packages

  The apt package provider now allows you to install packages from a local
  file using source parameter. PUP-10854

The puppet facts show --value-only command displays a quoted value

  Previously, the puppet facts show --value-only <fact> command emitted
  the value as a JSON string, which included quotes around the value, such
  as {{"RedHat"}}. It now only emits the value. PUP-10861
   2021-02-03 16:15:19 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
sysutils/puppet: update to 7.3.0

Puppet 7.3.0

Released 20 January 2021.

New features

* New serverport setting type

The serverport setting is an alias for masterport. PUP-10725


* Multiple logdest locations in puppet.conf accepted

  You can set multiple logdest locations using a comma separated list.
  For example: /path/file1,console,/path/file2. PUP-10795

* The puppet module install command lists unsatisfiable dependencies

  If the puppet module install command fails, Puppet returns a more
  detailed error, including the unsatisfiable module(s) and its
  ranges. PUP-9176

* New --no-legacy option to disable legacy facts

  By default, puppet facts show displays all facts, including legacy
  facts. This release adds a --no-legacy option to disable legacy facts
  when querying all facts. PUP-10850

Resolved issues

* The puppet apply command creates warnings

  This release eliminates Ruby 2.7.x warnings when running puppet apply
  with node statements. PUP-10845

* Remove Pathname#cleanpath workaround

  This release removes an unnecessary workaround when cleaning file paths,
  as Ruby 1.9 is no longer supported. PUP-10840

* The allow * error message shown during PE upgrade

  Puppet no longer prints an error if fileserver.conf contains allow *
  rules. It continues to print an error for all other rules, as Puppet's
  legacy authorization is no longer supported and is superseded by
  Puppetserver's authorization. PUP-10851

* 3x functions cannot be called from deferred functions in Puppet agent

  This release allows deferred 3.x functions, like sprintf, to be called
  during a Puppet agent run. PUP-10819

* Cached catalog contains the result of deferred evaluation instead of the
  deferred function

  Puppet 6.12.0 introduced a regression that caused the result of a
  deferred function to be stored in the cached catalog. As a result, an
  agent running with a cached catalog would not re-evaluate the deferred
  function. This is now fixed. PUP-10818

* puppet facts show fact output differs from facter fact

  The output format is different between Facter and Puppet facts when a
  query for a single fact is provided. This is now fixed. PUP-10847

* Issue with Puppet creating production folder when multiple environment
  paths are set

  Previously, the production environment folder was automatically created
  at every Puppet ran in the first search path, if it did not already
  exist. This release ensures Puppet searches all the given paths before
  creating a new production environment folder. PUP-10842

Puppet 7.2.0

This version of Puppet was never released.
   2021-01-19 01:03:53 by Takahiro Kambe | Files touched by this commit (1)
Log message:
sysutils/puppet: fix typo in dependency

Fix ruby-scanf dependency.