Repository: brooklyn-server
Updated Branches:
  refs/heads/master 6727aa620 -> 85770a0d6


Windows enable credssp script - on exception Write-Error


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/71c44872
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/71c44872
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/71c44872

Branch: refs/heads/master
Commit: 71c44872c50b5a4f3647574aead1a09cc69f2d29
Parents: 69548bd
Author: Valentin Aitken <[email protected]>
Authored: Mon Mar 28 14:21:24 2016 +0300
Committer: Valentin Aitken <[email protected]>
Committed: Tue Mar 29 01:44:57 2016 +0300

----------------------------------------------------------------------
 .../org/apache/brooklyn/software/base/custom-enable-credssp.ps1    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/71c44872/software/base/src/main/resources/org/apache/brooklyn/software/base/custom-enable-credssp.ps1
----------------------------------------------------------------------
diff --git 
a/software/base/src/main/resources/org/apache/brooklyn/software/base/custom-enable-credssp.ps1
 
b/software/base/src/main/resources/org/apache/brooklyn/software/base/custom-enable-credssp.ps1
index ef2ee5c..b1fb570 100644
--- 
a/software/base/src/main/resources/org/apache/brooklyn/software/base/custom-enable-credssp.ps1
+++ 
b/software/base/src/main/resources/org/apache/brooklyn/software/base/custom-enable-credssp.ps1
@@ -85,7 +85,7 @@ Custom-Enable-CredSSP box1,box2
             Enable-WSManCredSSP -DelegateComputer $ComputersToAdd -Role Client 
-Force -ErrorAction Stop | Out-Null
         }
         catch {
-            Write-BoxstarterMessage "Enable-WSManCredSSP failed with: $_" 
-Verbose
+            Write-Error "Enable-WSManCredSSP failed with: $_" -Verbose
             return $result
         }
     }

Reply via email to