-
Notifications
You must be signed in to change notification settings - Fork 38
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 #8742: Test dry run in ncf #419
Fixes #8742: Test dry run in ncf #419
Conversation
Commit modified |
c6ad12f
to
74ae6b6
Compare
Fix and test dry-run in ncf, with a self-contained test for each way to enable dry-run and a complete test with a generic method. |
Commit modified |
74ae6b6
to
dc01284
Compare
Ready for review. |
@@ -56,77 +56,86 @@ bundle agent set_dry_run_mode(mode) | |||
# - ... and all promise types that are not for the agent | |||
############################################################################### | |||
|
|||
body file control | |||
{ | |||
namespace => "bodydefault"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems rather an odd name. Can't we use our standard conventions, and have something like "ncf_body_default"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this is the namespace used in CFEngine for default bodies (https://docs.cfengine.com/latest/reference-language-concepts-bodies.html#default-bodies)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see.
Aside from minor naming/indentation comments, this looks great. |
dc01284
to
7e66ed8
Compare
Commit modified |
OK, merging this PR |
https://www.rudder-project.org/redmine/issues/8742