brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bostko <>
Subject [GitHub] brooklyn-server issue #157: Windows helper script for using Invoke-Command -...
Date Thu, 23 Jun 2016 12:38:06 GMT
Github user bostko commented on the issue:
    Regarding moving scripts in `C:\brooklyn-managed-processes\install`:
    I am hesitant whether `C:\brooklyn-managed-processes` is the right path in first place.
    It would be better to be in `%USERPROFILE%` or in `%APPDATA%`.
    Because of this it is best if we have to advice users to upload scripts independently
from where invoke-command-credssp.ps1 helper scripts is.
    It is best if the script is uploaded to RUNDIR and it is used with relative path like
it is in linux.
    So to move the helper scripts in a folder I would first:
    1. find a way to use `templates.install` with a pseudonym `$env:RUNDIR` rather than the
explicit `C:\` or `C:\brooklyn-managed-processes\install` or `C:\brooklyn-managed-processes\apps\<id>\<entity>`

    1. Change the VanillaWindowsProcess to execute commands in `$env:RUNDIR` 
    1. as @nakomis suggested add a `ENABLE_CRED_SSP` config key which uploads the scripts
automatically and launch it
    1. Add a config key which is uploading automatically `invoke-command-credssp.ps1`  so
it is convenient for users to run it later. 

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message