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 #14293: ncf 4.1 is not compatible anymore with agent 3.1 #918

Conversation

ncharles
Copy link
Member

}


bundle agent push_dry_run_mode(mode)
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 we should call set_dry_run_mode to fail in this case


}

bundle agent pop_dry_run_mode()
Copy link
Member

Choose a reason for hiding this comment

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

here too

@ncharles ncharles force-pushed the bug_14293/ncf_4_1_is_not_compatible_anymore_with_agent_3_1 branch from f6ec810 to 6638165 Compare February 11, 2019 10:44
@ncharles
Copy link
Member Author

Commit modified

"abort" usebundle => _abort("unsupported_dryrun", "Dry-run mode is not compatible with this agent. Stopping immediately to prevent any unwanted change."),
action => immediate_ignore_dry_run;

reports:
Copy link
Member

Choose a reason for hiding this comment

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

you can remove the reports here

@ncharles ncharles force-pushed the bug_14293/ncf_4_1_is_not_compatible_anymore_with_agent_3_1 branch from 6638165 to 720f669 Compare February 11, 2019 10:48
@ncharles
Copy link
Member Author

Commit modified

@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/ncf/pull/918
-- Your faithful QA
Kant merge: "In law a man is guilty when he violates the rights of others. In ethics he is guilty if he only thinks of doing so."
(https://ci.normation.com/jenkins/job/merge-accepted-pr/7006/console)

@ncharles
Copy link
Member Author

OK, merging this PR

@ncharles ncharles merged commit 720f669 into Normation:branches/rudder/4.1 Feb 21, 2019
@ncharles
Copy link
Member Author

OK, merging this PR

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