Skip to content

Commit ce456d1

Browse files
authored
Merge pull request puppetlabs#214 from RandomNoun7/tickets/master/IMAGES-795-fix_assembly_loading_on_new_win_image
(IMAGES-795) 2008r2 template failing PowerShell module tests
2 parents e53461c + 8b43589 commit ce456d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/puppet_x/templates/powershell/init_ps.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,8 @@ function Start-PipeServer
748748
$Encoding
749749
)
750750

751+
Add-Type -AssemblyName "System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
752+
751753
# this does not require versioning in the payload as client / server are tightly coupled
752754
$server = New-Object System.IO.Pipes.NamedPipeServerStream($CommandChannelPipeName,
753755
[System.IO.Pipes.PipeDirection]::InOut)

0 commit comments

Comments
 (0)