ENT-13295: Added evaluation order option in body agent control#5914
Conversation
No, that's a separate ticket. This is just about making it work in both |
🧌 |
214e082 to
56a38a8
Compare
6a07fd5 to
d91be73
Compare
Great ...
This is I think worth looking at more closely. I have not filed a ticket that I recall, but it has indeed annoyed me when we have identical config options that override that are not named the same. I don't recall specific attributes that re this way, but i think that this: Looks nicer than: I'd almost rather prefer this if we must not use the same attribute names: |
d91be73 to
cfb425e
Compare
|
I updated the PR description |
nickanderson
left a comment
There was a problem hiding this comment.
I won't judge the C code, but 👍 on the CFEngine syntax.
cfb425e to
5c151ca
Compare
Changelog: Title Ticket: ENT-13295 Signed-off-by: Victor Moene <victor.moene@northern.tech>
5c151ca to
4abbe20
Compare
|
@cf-bottom jenkins, please :) |
|
Sure, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/12920/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-12920/ |
| } | ||
|
|
||
| // The fallback is to use what is defined in body common control, | ||
| // or if not defined there either, default to true (normal order) |
There was a problem hiding this comment.
| // or if not defined there either, default to true (normal order) | |
| // or if not defined there either, default to true (classic order) |
You can now override the body common control's
evaluation_orderoption for agents.I removed this because it doesn't look like it does much.