Skip to content

Commit f98f8f6

Browse files
bcwilhiteerjenkin
andauthored
4.4.2 Into Dev - Release (4.4.2) (#666)
* removed Vmware.VpshereDSC dependency * updated changelog * updated changelog * updated integration test * updated changelog.md Co-authored-by: erjenkin <[email protected]>
1 parent 392d050 commit f98f8f6

File tree

4 files changed

+9
-13
lines changed

4 files changed

+9
-13
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
## [Unreleased]
44

5-
## [4.4.0] - 2020-07-01
5+
## [4.4.2] - 2020-07-06
66

7+
* Removed required dependency of Vmware.VsphereDSC due to cyclic redundancy error when importing PowerSTIG
78
* Update PowerSTIG to successfully parse/apply MS SQL Server 2012 Instance Ver. 1 Rel. 20: [#639](https://github.com/microsoft/PowerStig/issues/639)
89
* Update PowerSTIG to successfully parse/apply MS SQL Server 2016 Instance Ver. 1 Rel. 9: [#636](https://github.com/microsoft/PowerStig/issues/636)
910
* Update PowerSTIG to successfully parse/apply Windows Server 2012 DNS STIG - Ver 1, Rel 14: [#633](https://github.com/microsoft/PowerStig/issues/633)

Tests/Integration/Module/PowerStig.Integration.tests.ps1

+5-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ Describe "$moduleName module" {
2020
foreach ($moduleInfo in $dscModuleInfo)
2121
{
2222
$moduleData = $manifestRequiredModules | Where-Object -FilterScript {$PSItem.ModuleName -eq $moduleInfo.ModuleName}
23-
24-
It "Should require the same module listed in the manifest for DscResource $dscCompositeFile Module: $($moduleInfo.ModuleName)" {
25-
$moduleInfo.ModuleVersion | Should -Be $moduleData.ModuleVersion
23+
if ($moduleInfo.ModuleName -ne "Vmware.vSphereDSC")
24+
{
25+
It "Should require the same module listed in the manifest for DscResource $dscCompositeFile Module: $($moduleInfo.ModuleName)" {
26+
$moduleInfo.ModuleVersion | Should -Be $moduleData.ModuleVersion
27+
}
2628
}
2729
}
2830
}

build.ps1

+1
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ Begin
247247
'DscResource.Test' = '0.13.1'
248248
'DscResource.AnalyzerRules' = 'latest'
249249
'powershell-yaml' = 'latest'
250+
'Vmware.VsphereDSC' = '2.1.0.58'
250251
# The modules below are dynamically inserted from the Begin block of .\build.ps1
251252
252253
'@

source/PowerStig.psd1

+1-9
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,7 @@ RequiredModules = @(
4747
@{ModuleName = 'SqlServerDsc'; ModuleVersion = '13.3.0'},
4848
@{ModuleName = 'WindowsDefenderDsc'; ModuleVersion = '1.0.0.0'},
4949
@{ModuleName = 'xDnsServer'; ModuleVersion = '1.11.0.0'},
50-
@{ModuleName = 'xWebAdministration'; ModuleVersion = '2.5.0.0'},
51-
@{ModuleName = 'VMware.VimAutomation.Sdk'; ModuleVersion = '12.0.0.15939651'},
52-
@{ModuleName = 'VMware.VimAutomation.Common'; ModuleVersion = '12.0.0.15939652'},
53-
@{ModuleName = 'VMware.Vim'; ModuleVersion ='7.0.0.15939650'},
54-
@{ModuleName = 'VMware.VimAutomation.Cis.Core'; ModuleVersion = '12.0.0.15939657'},
55-
@{ModuleName = 'VMware.VimAutomation.Core'; ModuleVersion = '12.0.0.15939655'},
56-
@{ModuleName = 'VMware.VimAutomation.Storage'; ModuleVersion = '11.5.0.14901686'},
57-
@{ModuleName = 'VMware.VimAutomation.Vds'; ModuleVersion = '11.2.0.12483615'},
58-
@{ModuleName = 'Vmware.vSphereDsc'; ModuleVersion = '2.1.0.58'}
50+
@{ModuleName = 'xWebAdministration'; ModuleVersion = '2.5.0.0'}
5951
)
6052

6153
# DSC resources to export from this module

0 commit comments

Comments
 (0)