Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow agent to run any kind of command #166

Closed
ypujante opened this issue Sep 15, 2012 · 4 comments
Closed

Allow agent to run any kind of command #166

ypujante opened this issue Sep 15, 2012 · 4 comments

Comments

@ypujante
Copy link
Member

The agent has some commands built in, like "ps" and "kill". It would be great to allow the agent to run any arbitrary command.

Essentially what you can do through ssh but using the agent rest api

@Spedge
Copy link
Contributor

Spedge commented Sep 24, 2012

Agreed, something like this would mean glu has a real lead over something like RunDeck.

@lukestephenson
Copy link

Currently evaluating glu vs puppet / mcollective. This would be a useful feature for glu to have. Mcollective has good support for this, but there are other areas I prefer glu.

@ypujante
Copy link
Member Author

ypujante commented Oct 1, 2012

This is the task I am currently working on... Stay tuned!

ypujante added a commit that referenced this issue Nov 18, 2012
- idea is that remote command execution will be able to get stdout, stderr and exitValue in a single stream
ypujante added a commit that referenced this issue Nov 18, 2012
ypujante added a commit that referenced this issue Nov 18, 2012
ypujante added a commit that referenced this issue Nov 18, 2012
- added stdoutStream and stderrStream back
- got rid of unused classes
ypujante added a commit that referenced this issue Nov 18, 2012
ypujante added a commit that referenced this issue Nov 18, 2012
- use a header in the rest call
ypujante added a commit that referenced this issue Nov 18, 2012
ypujante added a commit that referenced this issue Nov 18, 2012
ypujante added a commit that referenced this issue Nov 18, 2012
ypujante added a commit that referenced this issue Nov 18, 2012
store command result on the agent side and allow to stream it while command is running
ypujante added a commit that referenced this issue Nov 18, 2012
ypujante added a commit that referenced this issue Nov 18, 2012
ypujante added a commit that referenced this issue Nov 18, 2012
ypujante added a commit that referenced this issue Nov 18, 2012
- do not show at all any links related to feature
- throw exception if try to use it anyway
ypujante added a commit that referenced this issue Nov 18, 2012
use: glu.agent.features.commands.enabled=false to disable
ypujante added a commit that referenced this issue Nov 18, 2012
ypujante added a commit that referenced this issue Nov 18, 2012
ypujante added a commit that referenced this issue Nov 18, 2012
ypujante added a commit that referenced this issue Nov 18, 2012
- moved code in the StreamStorage hierarchy
ypujante added a commit that referenced this issue Nov 18, 2012
- need to keep commands as they are executing!
ypujante added a commit that referenced this issue Nov 18, 2012
ypujante added a commit that referenced this issue Nov 18, 2012
ypujante added a commit that referenced this issue Nov 18, 2012
ypujante added a commit that referenced this issue Nov 18, 2012
ypujante added a commit that referenced this issue Nov 18, 2012
ypujante added a commit that referenced this issue Nov 18, 2012
ypujante added a commit that referenced this issue Nov 18, 2012
ypujante added a commit that referenced this issue Nov 18, 2012
@ypujante
Copy link
Member Author

Implemented in 4.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants