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

Fixes #8187: rudder remote-run should allow running for a group of nodes #57

Conversation

peckpeck
Copy link
Member

@@ -6,7 +6,7 @@
# @man +
# @man *Arguments*:
# @man +
# @man *node*: IP or hostname of the target node
# @man *node*: IP or hostname of the target node 'all' for all nodes of the server
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're missing a comma or the word "or" to separate these two options here

@jooooooon
Copy link
Member

This looks really great. I love the power yet simplicity of it!

I've made some feedback on the code, mostly minor.

@peckpeck peckpeck force-pushed the ust_8187/rudder_remote_run_should_allow_running_for_a_group_of_nodes branch from 6f7a985 to 808edc8 Compare April 20, 2016 09:20
@peckpeck
Copy link
Member Author

PR updated

@@ -19,7 +21,7 @@ simple_api_call() {
then
printf "${WHITE}${curl_command}${NORMAL}\n"
fi
result=`eval ${curl_command}`
result=`eval ${DOWNLOAD_COMMAND} \"${url}\"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since you already have this value in curl_command, why not just use it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, a copy/paste mistake when restoring curl_command

@jooooooon
Copy link
Member

Great stuff. Thanks for the quick update. Merging!

@jooooooon jooooooon merged commit 1820f55 into Normation:master Apr 20, 2016
@peckpeck peckpeck deleted the ust_8187/rudder_remote_run_should_allow_running_for_a_group_of_nodes branch July 13, 2020 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants