Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: puppetlabs/puppetlabs-chocolatey
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.0.1
Choose a base ref
...
head repository: puppetlabs/puppetlabs-chocolatey
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v6.1.0
Choose a head ref
  • 19 commits
  • 30 files changed
  • 11 contributors

Commits on Apr 26, 2021

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

Commits on Apr 27, 2021

  1. Merge pull request #259 from puppetlabs/pdksync_pdk_update

    pdksync - (maint) Running pdk update
    daianamezdrea authored Apr 27, 2021
    Configuration menu
    Copy the full SHA
    e37ef8d View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2021

  1. (maint) pdksync - PDK Update

    Daniel Carabas committed Jun 7, 2021
    Configuration menu
    Copy the full SHA
    1d74a72 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #265 from puppetlabs/pdksync_pdkupdate

    pdksync - (maint) PDKSync - PDK Update
    michaeltlombardi authored Jun 7, 2021
    Configuration menu
    Copy the full SHA
    f61aac5 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2021

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

Commits on Jul 21, 2021

  1. Merge pull request #267 from puppetlabs/pdksync_iac-1149

    pdksync - (maint) - Updating Contribution Guidelines
    david22swan authored Jul 21, 2021
    Configuration menu
    Copy the full SHA
    3dae35d View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2021

  1. add support for version range

    rico89 committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    1a3dc2c View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2021

  1. Merge pull request #269 from rico89/feature/version_range

    add support for version range
    daianamezdrea authored Sep 27, 2021
    Configuration menu
    Copy the full SHA
    4440ac2 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2022

  1. (MODULES-11206) Update dependencies to allow stdlib 8.x

    This commit updates the dependency on `puppetlabs/stdlib` to allow
    for 8.x versions.
    Sharpie committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    158261b View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2022

  1. Merge pull request #276 from Sharpie/update-stdlib-dependency

    (MODULES-11206) Update dependencies to allow stdlib 8.x
    smortex authored Feb 16, 2022
    Configuration menu
    Copy the full SHA
    4517d9b View commit details
    Browse the repository at this point in the history
  2. (maint) Replace chocolatey::params with hiera data

    The chocolatey::params class in an internal detail with low value for
    end users but cannot be made private for technical reasons so appears in
    end-users documentation.  It is only useful to provide a default value
    to $chocolatey::choco_install_location when the fact choco_install_path
    is not defined, which can be achieved using hiera.
    smortex committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    f4307b1 View commit details
    Browse the repository at this point in the history
  3. (maint) Fix CI when using local facts

    This is fine when the CI is exercised in GitHub Action environment but
    fails on my local machine with some reference to my user local facts
    overrides:
    
    ```
    Failures:
    
      1) Puppet::Type::Package::ProviderChocolatey self.read_choco_features when getting sources from the config file matches the count of sources in the config
         Failure/Error: ENV['ChocolateyInstall'] = Facter.value('choco_install_path') || PuppetX::Chocolatey::ChocolateyInstall.install_path
    
           #<File (class)> received :read with unexpected arguments
             expected: ("c:\\choco.config")
                  got: ("/home/romain/.puppetlabs/opt/facter/facts.d/customer.yaml")
         # ./lib/puppet_x/chocolatey/chocolatey_common.rb:56:in `set_env_chocolateyinstall'
         # ./lib/puppet/provider/package/chocolatey.rb:63:in `read_choco_features'
         # ./spec/unit/puppet/provider/package/chocolatey_spec.rb:164:in `block (4 levels) in <top (required)>'
    
      2) Puppet::Type::Package::ProviderChocolatey self.read_choco_features when getting sources from the config file contains xml elements
         Failure/Error: ENV['ChocolateyInstall'] = Facter.value('choco_install_path') || PuppetX::Chocolatey::ChocolateyInstall.install_path
    
           #<File (class)> received :read with unexpected arguments
             expected: ("c:\\choco.config")
                  got: ("/home/romain/.puppetlabs/opt/facter/facts.d/customer.yaml")
         # ./lib/puppet_x/chocolatey/chocolatey_common.rb:56:in `set_env_chocolateyinstall'
         # ./lib/puppet/provider/package/chocolatey.rb:63:in `read_choco_features'
         # ./spec/unit/puppet/provider/package/chocolatey_spec.rb:173:in `block (4 levels) in <top (required)>'
    ```
    
    Stub set_env_chocolateyinstall like done is the other tests to fix the
    issue.
    smortex committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    cc75194 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #272 from smortex/hiera

    Replace chocolatey::params with hiera data
    bastelfreak authored Feb 16, 2022
    Configuration menu
    Copy the full SHA
    f47993a View commit details
    Browse the repository at this point in the history
  5. (MODULES-11255) Add basic tasks to manage packages

    Add a task to list current packages:
    
    C:\> bolt task run chocolatey::status -t localhost
    Started on localhost...
    Finished on localhost:
      {"status":[{"package":"chocolatey","version":"0.11.3"},{"package":"puppet-bolt","version":"3.20.0"}]}
    Successful on 1 target: localhost
    Ran on 1 target in 2.6 sec
    C:\>
    
    Add tasks to install, upgrade and uninstall packages:
    
    C:\> bolt task run chocolatey action=install package=pdk version=2.0.0.0 -t localhost
    C:\> bolt task run chocolatey action=upgrade package=pdk -t localhost
    C:\> bolt task run chocolatey action=uninstall package=pdk -t localhost
    
    Add a task to pin/unpin packages:
    
    C:\> bolt task run chocolatey::pin action=add package=puppet-bolt -t localhost
    C:\> bolt task run chocolatey::pin action=list -t localhost
    Started on localhost...
    Finished on localhost:
      {"status":[{"package":"puppet-bolt","version":"3.20.0"}]}
    Successful on 1 target: localhost
    Ran on 1 target in 2.6 sec
    C:\> bolt task run chocolatey::pin action=remove package=pdk -t localhost
    
    Add a task to list outdated packages:
    
    C:\> bolt task run chocolatey::outdated -t localhost
    Started on localhost...
    Finished on localhost:
      {"status":[{"package":"puppet-bolt","version":"3.20.0","available_version":"3.21.0","pinned":false}]}
    Successful on 1 target: localhost
    Ran on 1 target in 10.14 sec
    C:\>
    smortex committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    8bdb4ac View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2022

  1. Merge pull request #273 from smortex/tasks

    (MODULES-11255) Add basic tasks to manage packages
    LukasAud authored Feb 21, 2022
    Configuration menu
    Copy the full SHA
    a694bef View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2022

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

Commits on Mar 1, 2022

  1. Merge pull request #278 from puppetlabs/pdksync_FM-8922/main/add_wind…

    …ows_2022_support
    
    pdksync - (FM-8922) - Add Support for Windows 2022
    LukasAud authored Mar 1, 2022
    Configuration menu
    Copy the full SHA
    f60d68a View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2022

  1. Release prep v6.1.0

    david22swan committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    8a66616 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b90eaef View commit details
    Browse the repository at this point in the history
Loading