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

Adrian Cole commented on WHIRR-173:
-----------------------------------

I have a compute example called exec for this.  you may want to add a flag as 
to whether the command is long-running or not.  For example, executing "uptime" 
doesn't need to be run init style, so you'd want to set wrapInInitScript(false).

https://github.com/jclouds/jclouds-examples/blob/master/compute-basics/src/main/java/org/jclouds/examples/compute/basics/MainApp.java


> Add ClusterAction for generic script execution
> ----------------------------------------------
>
>                 Key: WHIRR-173
>                 URL: https://issues.apache.org/jira/browse/WHIRR-173
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Stu Hood
>            Assignee: Andrei Savu
>
> The usecase is that once a cluster is launched, it is useful to be able to 
> execute named scripts against predicate-matched nodes in the cluster.
> Tom indicated that this Action is likely to look almost exactly like 
> ConfigureClusterAction: in fact, it may just be renaming 
> ConfigureClusterAction.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to