Commits on Sep 25, 2023

  1. (PA-5266) Change checksum algorithm to default

    Prior to this commit, the puppet_agent::prepare::package class used the
    sha256lite algorithm in the file resource for local installation
    packages.
    
    In certain circumstances (e.g. when a download is interrupted), this
    checksum, which only checks the first N bytes, does not provide
    sufficient information to determine if the file is actually there.
    
    This commit removes the checksum attribute altogether, which causes the
    file resource to use its default algorithm, sha256. This algorithm
    should handle circumstances like those outlined above.
    mhashizume committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    c8c47cb View commit details
    Browse the repository at this point in the history
  2. Merge pull request #670 from mhashizume/PA-5266/main/prepare-digest

    (PA-5266) Change checksum algorithm to SHA256
    cthorn42 authored Sep 25, 2023
    Configuration menu
    Copy the full SHA
    f78b136 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2023

  1. (maint) Update CODEOWNERS

    Adding Trusted Contributors to the CODEOWNERS will allow them to meet our branch protection rules and merge pull requests. If you would rather keep that privilege for your own team, then you can decline this PR.
    binford2k committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    c490fdd View commit details
    Browse the repository at this point in the history
  2. (maint) Update optional parameters

    As part of 404df9d all parameters in this module were assigned a data
    type. However, some required parameters were mistakenly classed as
    Optional and vice-versa.
    
    Puppet's documentation states "If a class parameter lacks a default
    value, the parameter is considered required."[1]
    
    This commit updates all parameters with default values to Optional (and
    whatever other relevant data type) and all parameters without default
    value as required. The REFERENCE.md has been updated to reflect these
    changes.
    
    Additionally, this commit updates all Optional parameters be set as
    undef, as suggested by the optional_default puppet-lint check.
    
    [1] https://www.puppet.com/docs/puppet/7/lang_classes#class-parameters-and-variables
    mhashizume committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    74e022d View commit details
    Browse the repository at this point in the history
  3. Merge pull request #671 from mhashizume/maint/main/optional-parameters

    (maint) Update optional parameters
    AriaXLi authored Sep 26, 2023
    Configuration menu
    Copy the full SHA
    a078e0d View commit details
    Browse the repository at this point in the history
  4. Merge pull request #656 from puppetlabs/trusted-contributors

    (maint) Update CODEOWNERS
    mhashizume authored Sep 26, 2023
    Configuration menu
    Copy the full SHA
    69decce View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2023

  1. (maint) Fix skip_if_unavailable allowed datatypes

    In PR #663 an overly strict datatype was set for the
    skip_if_unavailable parameter. The yumrepo type supports
    a variety of string values and boolean values.
    seanmil committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    7e3f826 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #672 from seanmil/expand_skip_if_unavailable_type

    Match allowed datatypes to yumrepo skip_if_unavailable support
    mhashizume authored Sep 28, 2023
    Configuration menu
    Copy the full SHA
    3663482 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2023

  1. (PA-5820) Correct parameter types

    Previously, 74e022d erroneously typed the $package_version and
    $install_options parameters as Optional.
    
    This commit updates those parameters to be required, and gives a more
    specific type to $install_options.
    mhashizume committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    1bd111b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #673 from mhashizume/PA-5820/main/data-type-correc…

    …tions
    
    (PA-5820) Correct parameter types
    joshcooper authored Sep 29, 2023
    Configuration menu
    Copy the full SHA
    9d8fe95 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2023

  1. (PA-5792) Update Checkout GitHub Action

    The Checkout GitHub Action v3 uses Node 16, which hit end-of-life on
    September 11, 2023.
    
    This commit updates all instances of the Checkout Action from v3 to
    v4.
    mhashizume committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    29dea09 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #674 from mhashizume/PA-5792/main/checkout-action

    (PA-5792) Update Checkout GitHub Action
    mhashizume authored Oct 3, 2023
    Configuration menu
    Copy the full SHA
    2920159 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. Configuration menu
    Copy the full SHA
    3b6d239 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. Merge pull request #675 from skyamgarp/PA-5013

    (PA-5013) Add Red Hat 9 (ARM64) to the puppet_agent module task
    skyamgarp authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    39d8ab9 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. Configuration menu
    Copy the full SHA
    4843ac1 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2023

  1. Merge pull request #676 from imaqsood/PA-5065

    (PA-5065) Add Ubuntu 22.04 (ARM64) to the puppet_agent module
    joshcooper authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    560c1e8 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2023

  1. (PA-5826) Only read Windows VERSION file during puppet apply

    Previously, puppetserver attempted to load the wrong VERSION file when managing
    `package_version => auto` and compiling catalogs for Windows nodes as can be
    seen by the new test:
    
        Evaluation Error: Error while evaluating a Function Call, Could not find any files from C:\Program Files\Puppet Labs\Puppet\VERSION (file: path/to/init.pp, line: 170, column: 42)
    
    This adds a `puppet_runmode` fact. When running as puppet agent, the run mode will
    be `agent`. When running as puppet apply, it will be `user`. If it's the latter
    and we're a Windows host, then look for the VERSION file locally.
    
    Since the default class parameter is no longer dependent on the agent
    fact, I regenerated the reference using rake strings:generate:reference
    joshcooper committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    b2cc0eb View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. Merge pull request #677 from joshcooper/windows_auto_5826

    (PA-5826) Only read Windows VERSION file during puppet apply
    cthorn42 authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    5424e8d View commit details
    Browse the repository at this point in the history
  2. (maint) Remove .project file

    .project files were once used for the long-defunct Geppetto. This commit
    removes an old .project file in the root of this project.
    mhashizume committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    df35513 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #678 from mhashizume/maint/main/geppetto-removal

    (maint) Remove .project file
    mhashizume authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    c9fe71d View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. Release prep v4.16.0

    GitHub Actions committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    1864b0a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #680 from puppetlabs/release-prep

    Release prep v4.16.0
    mhashizume authored Nov 15, 2023
    Configuration menu
    Copy the full SHA
    bd68744 View commit details
    Browse the repository at this point in the history