You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Frank Scholten (JIRA)" <ji...@apache.org> on 2012/05/10 22:18:49 UTC

[jira] [Issue Comment Edited] (WHIRR-448) allow passing of arguments to script in run-script

    [ https://issues.apache.org/jira/browse/WHIRR-448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13272706#comment-13272706 ] 

Frank Scholten edited comment on WHIRR-448 at 5/10/12 8:18 PM:
---------------------------------------------------------------

Seems we have commands to manage the cluster as a whole and commands that perform actions on one or more nodes based on id and role. So far we have RunScriptCommand and soon the ExecCommand and UploadCommand.

How about pulling up buildFilterPredicate() and runScriptOutput() to AbstractClusterCommand?


                
      was (Author: frankscholten):
    Seems we have to commands to manage the cluster as a whole and commands that perform actions on one or more nodes based on id and role. So far we have RunScriptCommand and soon the ExecCommand and UploadCommand.

How about pulling up buildFilterPredicate() and runScriptOutput() to AbstractClusterCommand?


                  
> allow passing of arguments to script in run-script
> --------------------------------------------------
>
>                 Key: WHIRR-448
>                 URL: https://issues.apache.org/jira/browse/WHIRR-448
>             Project: Whirr
>          Issue Type: Improvement
>          Components: cli
>    Affects Versions: 0.6.0
>         Environment: Any
>            Reporter: Antonio Piccolboni
>         Attachments: WHIRR-448.patch
>
>
> As it is now, one can pass only a zero-argument script. Which means any slight variation of behavior desired of that script, you need to create a new script, either by hand or by some code generation machinery. Imagine a script to configure something, but the exact configuration depends on the version, only in details though. Wouldn't it be nice to be able to do whirr run-script setup-script 1.41.42 etc.? What is the alternative?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira