Showing with 32 additions and 21 deletions.
  1. +12 −0 CHANGELOG.md
  2. +3 −21 metadata.json
  3. +17 −0 spec/fixtures/scripts/install_pwsh/ubuntu_22.04.sh
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

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

## [v5.2.0](https://github.com/puppetlabs/puppetlabs-powershell/tree/v5.2.0) (2022-10-03)

[Full Changelog](https://github.com/puppetlabs/puppetlabs-powershell/compare/v5.1.0...v5.2.0)

### Added

- pdksync - \(GH-cat-11\) Certify Support for Ubuntu 22.04 [\#381](https://github.com/puppetlabs/puppetlabs-powershell/pull/381) ([david22swan](https://github.com/david22swan))

### Fixed

- \(MAINT\) Dropped support for Windows\(7,8,2008 + 2008 R2\(Server\), Fedora\(27+28\) and OSX OS's\(10.12-.14\) [\#382](https://github.com/puppetlabs/puppetlabs-powershell/pull/382) ([jordanbreen28](https://github.com/jordanbreen28))

## [v5.1.0](https://github.com/puppetlabs/puppetlabs-powershell/tree/v5.1.0) (2022-06-13)

[Full Changelog](https://github.com/puppetlabs/puppetlabs-powershell/compare/v5.0.0...v5.1.0)
Expand Down
24 changes: 3 additions & 21 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "puppetlabs-powershell",
"version": "5.1.0",
"version": "5.2.0",
"author": "puppetlabs",
"summary": "Adds a new exec provider for executing PowerShell commands.",
"license": "Apache-2.0",
Expand All @@ -17,11 +17,7 @@
{
"operatingsystem": "Windows",
"operatingsystemrelease": [
"7",
"8",
"10",
"2008",
"2008 R2",
"2012",
"2012 R2",
"2016",
Expand All @@ -44,21 +40,6 @@
"11"
]
},
{
"operatingsystem": "Fedora",
"operatingsystemrelease": [
"27",
"28"
]
},
{
"operatingsystem": "OSX ",
"operatingsystemrelease": [
"10.12",
"10.13",
"10.14"
]
},
{
"operatingsystem": "RedHat",
"operatingsystemrelease": [
Expand All @@ -71,7 +52,8 @@
"operatingsystem": "Ubuntu",
"operatingsystemrelease": [
"18.04",
"20.04"
"20.04",
"22.04"
]
},
{
Expand Down
17 changes: 17 additions & 0 deletions spec/fixtures/scripts/install_pwsh/ubuntu_22.04.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Download the Microsoft repository GPG keys
wget -q https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb

# Register the Microsoft repository GPG keys
dpkg -i packages-microsoft-prod.deb

# Update the list of products
apt-get update

# Enable the "universe" repositories
add-apt-repository universe

# Install PowerShell
apt-get install -y powershell

# List version
pwsh -v