From 9f3f3107d37d72f183240a7ffe2eccb534a2892e Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Mon, 3 Oct 2022 14:40:44 +0000 Subject: [PATCH] Release prep v6.2.1 --- CHANGELOG.md | 22 ++++++++---- REFERENCE.md | 92 ++++++++++++++++++++++++++++++++++++++++++++------- metadata.json | 2 +- pdk.yaml | 2 ++ 4 files changed, 98 insertions(+), 20 deletions(-) create mode 100644 pdk.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index 371fa3e3..84eed14e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,13 +2,21 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org). -## [v6.2.0](https://github.com/puppetlabs/puppetlabs-chocolatey/tree/v6.2.0) - 2022-05-16 +## [v6.2.1](https://github.com/puppetlabs/puppetlabs-chocolatey/tree/v6.2.1) (2022-10-03) + +[Full Changelog](https://github.com/puppetlabs/puppetlabs-chocolatey/compare/v6.2.0...v6.2.1) + +### Fixed + +- \(MAINT\) Dropping of support for windows 7,8.1, 2008/2008R2 \(Server\) [\#300](https://github.com/puppetlabs/puppetlabs-chocolatey/pull/300) ([jordanbreen28](https://github.com/jordanbreen28)) + +## [v6.2.0](https://github.com/puppetlabs/puppetlabs-chocolatey/tree/v6.2.0) (2022-05-16) [Full Changelog](https://github.com/puppetlabs/puppetlabs-chocolatey/compare/v6.1.1...v6.2.0) ### Added -- Update holdable feature [#270](https://github.com/puppetlabs/puppetlabs-chocolatey/pull/270) ([rico89](https://github.com/rico89)) +- update holdable feature [\#270](https://github.com/puppetlabs/puppetlabs-chocolatey/pull/270) ([rico89](https://github.com/rico89)) ## [v6.1.1](https://github.com/puppetlabs/puppetlabs-chocolatey/tree/v6.1.1) (2022-04-11) @@ -16,19 +24,19 @@ All notable changes to this project will be documented in this file. The format ### Fixed -- (GH-283) Fix error when `update` is incorrectly called on versions 1.0 and above. [\#283](https://github.com/puppetlabs/puppetlabs-chocolatey/pull/283) ([chelnak](https://github.com/chalnak)) +- \(GH-283\) Fix deprecation error [\#286](https://github.com/puppetlabs/puppetlabs-chocolatey/pull/286) ([chelnak](https://github.com/chelnak)) -## [v6.1.0](https://github.com/puppetlabs/puppetlabs-chocolatey/tree/v6.1.0) (2022-02-08) +## [v6.1.0](https://github.com/puppetlabs/puppetlabs-chocolatey/tree/v6.1.0) (2022-03-08) [Full Changelog](https://github.com/puppetlabs/puppetlabs-chocolatey/compare/v6.0.1...v6.1.0) ### Added -- add support for version range [\#269](https://github.com/puppetlabs/puppetlabs-chocolatey/pull/269) ([rico89](https://github.com/rico89)) -- \(MODULES-11255\) Add basic tasks to manage packages [\#273](https://github.com/puppetlabs/puppetlabs-chocolatey/pull/273) ([smortex](https://github.com/smortex)) - pdksync - \(FM-8922\) - Add Support for Windows 2022 [\#278](https://github.com/puppetlabs/puppetlabs-chocolatey/pull/278) ([david22swan](https://github.com/david22swan)) +- \(MODULES-11255\) Add basic tasks to manage packages [\#273](https://github.com/puppetlabs/puppetlabs-chocolatey/pull/273) ([smortex](https://github.com/smortex)) +- add support for version range [\#269](https://github.com/puppetlabs/puppetlabs-chocolatey/pull/269) ([rico89](https://github.com/rico89)) -## [v6.0.1](https://github.com/puppetlabs/puppetlabs-chocolatey/tree/v6.0.1) (2021-04-17) +## [v6.0.1](https://github.com/puppetlabs/puppetlabs-chocolatey/tree/v6.0.1) (2021-04-19) [Full Changelog](https://github.com/puppetlabs/puppetlabs-chocolatey/compare/v6.0.0...v6.0.1) diff --git a/REFERENCE.md b/REFERENCE.md index 9bdd9c37..03f082da 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -9,7 +9,6 @@ #### Public Classes * [`chocolatey`](#chocolatey): Used for managing installation and configuration of Chocolatey itself. -* [`chocolatey::params`](#chocolateyparams) #### Private Classes @@ -22,6 +21,13 @@ * [`chocolateyfeature`](#chocolateyfeature): Allows managing features for Chocolatey. Features are configuration that act as feature flippers to turn on or off certain aspects of how Cho * [`chocolateysource`](#chocolateysource): Allows managing sources for Chocolatey. A source can be a folder, a CIFS share, a NuGet Http OData feed, or a full Package Gallery. Learn mor +### Tasks + +* [`init`](#init): Manage a package +* [`outdated`](#outdated): List outdated packages +* [`pin`](#pin): Manage package pinning +* [`status`](#status): List currently installed packages + ## Classes ### `chocolatey` @@ -104,7 +110,7 @@ e.g. `c:\`. Defaults to the currently detected install location based on the `ChocolateyInstall` environment variable, falls back to `'C:\ProgramData\chocolatey'`. -Default value: `$::chocolatey::params::install_location` +Default value: `$facts['choco_install_path']` ##### `use_7zip` @@ -114,7 +120,7 @@ Whether to use built-in shell or allow installer to download 7zip to extract `chocolatey.nupkg` during installation. Defaults to `false`. -Default value: `$::chocolatey::params::use_7zip` +Default value: ``false`` ##### `seven_zip_download_url` @@ -125,7 +131,7 @@ Supports all sources supported by Puppet's file resource. You should use a 32bit binary for compatibility. Defaults to 'https://chocolatey.org/7za.exe'. -Default value: `$::chocolatey::params::seven_zip_download_url` +Default value: `'https://chocolatey.org/7za.exe'` ##### `choco_install_timeout_seconds` @@ -135,7 +141,7 @@ How long in seconds should be allowed for the install of Chocolatey (including .NET Framework 4 if necessary). Defaults to `1500` (25 minutes). -Default value: `$::chocolatey::params::install_timeout_seconds` +Default value: `1500` ##### `chocolatey_download_url` @@ -146,7 +152,7 @@ A url that will return Any old url location will work. Defaults to `'https://chocolatey.org/api/v2/package/chocolatey/'`. -Default value: `$::chocolatey::params::download_url` +Default value: `'https://chocolatey.org/api/v2/package/chocolatey/'` ##### `enable_autouninstaller` @@ -158,7 +164,7 @@ automatically manage the uninstall of software from Programs and Features without necessarily requiring a `chocolateyUninstall.ps1` file in the package. Defaults to `true`. Setting is ignored in Chocolatey v0.9.10+. -Default value: `$::chocolatey::params::enable_autouninstaller` +Default value: ``true`` ##### `log_output` @@ -177,7 +183,7 @@ Data type: `String` Chocolatey what version to expect and to pre-load features with, falls back to `$::chocolateyversion`. -Default value: `$::chocolatey::params::chocolatey_version` +Default value: `$facts['chocolateyversion']` ##### `install_proxy` @@ -188,10 +194,6 @@ Proxy server to use to use for installation of chocolatey itself or Default value: ``undef`` -### `chocolatey::params` - -The chocolatey::params class. - ## Resource types ### `chocolateyconfig` @@ -402,3 +404,69 @@ Default value: `''` The specific backend to use for this `chocolateysource` resource. You will seldom need to specify this --- Puppet will usually discover the appropriate provider for your platform. +## Tasks + +### `init` + +Manage a package + +**Supports noop?** false + +#### Parameters + +##### `action` + +Data type: `Enum[install,upgrade,uninstall]` + +Action to perform + +##### `package` + +Data type: `String[1]` + +Package to manipulate + +##### `version` + +Data type: `Optional[String[1]]` + +Use a specific version + +### `outdated` + +List outdated packages + +**Supports noop?** false + +### `pin` + +Manage package pinning + +**Supports noop?** false + +#### Parameters + +##### `action` + +Data type: `Enum[list,add,remove]` + +Action to perform + +##### `package` + +Data type: `Optional[String[1]]` + +Package to manipulate + +##### `version` + +Data type: `Optional[String[1]]` + +Use a specific version + +### `status` + +List currently installed packages + +**Supports noop?** false + diff --git a/metadata.json b/metadata.json index e9173292..1e580b1c 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "puppetlabs-chocolatey", - "version": "6.2.0", + "version": "6.2.1", "author": "puppetlabs", "summary": "Chocolatey package provider for Puppet", "license": "Apache-2.0", diff --git a/pdk.yaml b/pdk.yaml new file mode 100644 index 00000000..4bef4bd0 --- /dev/null +++ b/pdk.yaml @@ -0,0 +1,2 @@ +--- +ignore: []