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 18:12:51 UTC

[jira] [Updated] (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:all-tabpanel ]

Frank Scholten updated WHIRR-448:
---------------------------------

    Attachment: WHIRR-448.patch

Maybe not so difficult after all. Here is a command which executes a shell command on a single node or group of nodes.

If there is also a command for uploading a file then thuis allows for very flexible scripting. The downside is that we get more types of commands.

WDYT?
                
> 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