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 #7824: Add a -u option to rudder agent run to run an update before the run #64

Conversation

jooooooon
Copy link
Member

@@ -83,4 +90,8 @@ if [ -e /opt/rudder/etc/disable-agent ]; then
exit 1
fi

if [ "${UPDATE}" = "true" ]; then
Copy link
Member

Choose a reason for hiding this comment

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

You should reuse the provided options, otherwise you would break user expectations.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch. Fixed.

Copy link
Member

Choose a reason for hiding this comment

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

I think you should add raw and multiline options to UPDATE_OPTIONS since they are formatting options too

Copy link
Member Author

Choose a reason for hiding this comment

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

I can do but agent-update doesn't support them, so surely it will just break?

@jooooooon jooooooon force-pushed the ust_7824/add_a_u_option_to_rudder_agent_run_to_run_an_update_before_the_run branch from 213890d to e6a6836 Compare May 23, 2016 08:57
@jooooooon
Copy link
Member Author

PR rebased

@peckpeck
Copy link
Member

I don't see any change, was it just a rebase ?

@jooooooon
Copy link
Member Author

Yes, just a rebase so far. More changes coming. Sorry for the noise.

Sent from Kaiten Mail. Please excuse my brevity.

@peckpeck
Copy link
Member

Yes that's the reason I changed the "amend" comment in rudder-dev to be different from the "rebase" comment, but i'm not yet sure if people updated it or not.

@jooooooon jooooooon force-pushed the ust_7824/add_a_u_option_to_rudder_agent_run_to_run_an_update_before_the_run branch from e6a6836 to 90002b4 Compare May 23, 2016 12:15
@jooooooon
Copy link
Member Author

Commit modified

@jooooooon
Copy link
Member Author

I also update my rudder-dev, FYI

@peckpeck
Copy link
Member

Good, merging

@peckpeck peckpeck merged commit 8028e70 into Normation:master May 26, 2016
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