diff --git a/src/Puppet.Dsc/internal/functions/Update-PuppetModuleMetadata.Tests.ps1 b/src/Puppet.Dsc/internal/functions/Update-PuppetModuleMetadata.Tests.ps1 index 4e3afb81..a258443c 100644 --- a/src/Puppet.Dsc/internal/functions/Update-PuppetModuleMetadata.Tests.ps1 +++ b/src/Puppet.Dsc/internal/functions/Update-PuppetModuleMetadata.Tests.ps1 @@ -93,6 +93,7 @@ Describe 'Update-PuppetModuleMetadata' -Tag 'Unit' { $Result.operatingsystem_support[0].operatingsystemrelease | Should -Contain '2012R2' $Result.operatingsystem_support[0].operatingsystemrelease | Should -Contain '2016' $Result.operatingsystem_support[0].operatingsystemrelease | Should -Contain '2019' + $Result.operatingsystem_support[0].operatingsystemrelease | Should -Contain '2022' } It 'Updates the Puppet lower bound' { $Result.requirements[0].version_requirement | Should -Be '>= 7.0.0 < 9.0.0' diff --git a/src/Puppet.Dsc/internal/functions/Update-PuppetModuleMetadata.ps1 b/src/Puppet.Dsc/internal/functions/Update-PuppetModuleMetadata.ps1 index f0310860..ba46dca2 100644 --- a/src/Puppet.Dsc/internal/functions/Update-PuppetModuleMetadata.ps1 +++ b/src/Puppet.Dsc/internal/functions/Update-PuppetModuleMetadata.ps1 @@ -89,7 +89,8 @@ function Update-PuppetModuleMetadata { '2012', '2012R2', '2016', - '2019' + '2019', + '2022' ) } )