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 #12265: rudder agent check should trigger failsafe run when promises are broken #172

Conversation

amousset
Copy link
Member

@@ -259,6 +259,7 @@ check_and_fix_inputs() {
then
rm -rf ${CFE_DIR}/state/ncf-exclude-cache-*
rm -f ${CFE_DIR}/inputs/rudder_promises_updated
${CFE_BIN_DIR}/cf-agent -K -f failsafe.cf
Copy link
Member

Choose a reason for hiding this comment

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

Why not use rudder agent update ?

Copy link
Member Author

Choose a reason for hiding this comment

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

To match the other calls to CFEngine in this file, we can change them to use the Rudder command, but I would rather do it in 4.3.

Copy link
Member

Choose a reason for hiding this comment

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

ok

@@ -259,6 +259,7 @@ check_and_fix_inputs() {
then
rm -rf ${CFE_DIR}/state/ncf-exclude-cache-*
rm -f ${CFE_DIR}/inputs/rudder_promises_updated
${CFE_BIN_DIR}/cf-agent -K -f failsafe.cf
Copy link
Member

Choose a reason for hiding this comment

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

ok

@Normation-Quality-Assistant

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-agent/pull/172
-- Your faithful QA

@Normation-Quality-Assistant

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 8e85dba into Normation:branches/rudder/4.1 Mar 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants