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 #17217: Replace node-to-relay script from rudder-package #2251

Conversation

ElaadF
Copy link
Member

@ElaadF ElaadF commented Apr 24, 2020

@ElaadF ElaadF requested a review from amousset April 24, 2020 09:58
@VinceMacBuche
Copy link
Member

This script should only be in the plugin now

${ECHO} "ERROR: Cannot find the machine (inventory not found), aborting."
exit 1
fi
echo "INFO: Please use 'rudder server node-to-relay <UUID>' command"
Copy link
Member

Choose a reason for hiding this comment

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

This command is deprecated, please ...

@ElaadF
Copy link
Member Author

ElaadF commented Apr 24, 2020

PR updated with a new commit

@ElaadF
Copy link
Member Author

ElaadF commented Apr 24, 2020

Commit modified

@ElaadF ElaadF force-pushed the ust_17217/replace_node_to_relay_script_from_rudder_package branch from d93b4db to 9836f7c Compare April 24, 2020 10:15
@ElaadF ElaadF requested a review from amousset April 24, 2020 10:15
echo "INFO: This command is deprecated, please use 'rudder server node-to-relay <UUID>'"
echo -e "Running: rudder server node-to-relay $@ \n"
rudder server node-to-relay $@
code=$?
Copy link
Member

Choose a reason for hiding this comment

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

no need for check here, let the new script do the error handling

@ElaadF
Copy link
Member Author

ElaadF commented Apr 24, 2020

PR updated with a new commit

@Normation-Quality-Assistant
Copy link
Contributor

This PR is not mergeable to upper versions.
Since it is "Ready for merge" you must merge it by yourself using the following command:
rudder-dev merge https://github.com/Normation/rudder-packages/pull/2251
-- Your faithful QA
Kant merge: "Science is organized knowledge. Wisdom is organized life."
(https://ci.normation.com/jenkins/job/merge-accepted-pr/23607/console)

@ElaadF
Copy link
Member Author

ElaadF commented Apr 24, 2020

OK, squash merging this PR

@ElaadF ElaadF force-pushed the ust_17217/replace_node_to_relay_script_from_rudder_package branch from e6dd142 to e93408f Compare April 24, 2020 10:36
@ElaadF ElaadF merged commit e93408f into Normation:branches/rudder/6.1 Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants