-
Notifications
You must be signed in to change notification settings - Fork 73
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 #23322: Add back RUDDER_VERIFY_CERTIFICATES to rudder.json #4994
Fixes #23322: Add back RUDDER_VERIFY_CERTIFICATES to rudder.json #4994
Conversation
PR updated with a new commit |
1 similar comment
PR updated with a new commit |
systemVariableSpecService.get("RUDDER_COMPLIANCE_MODE").toVariable(Seq(agentPolicyMode.name)) | ||
systemVariableSpecService.get("RUDDER_COMPLIANCE_MODE").toVariable(Seq(agentPolicyMode.name)), | ||
// For compatibility with pre-8.0 agents | ||
systemVariableSpecService.get("RUDDER_VERIFY_CERTIFICATES").toVariable(Seq("false")) |
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.
You need to revert what was in SystemVariableSpecImpl
(https://github.com/Normation/rudder/pull/4982/files#diff-b2bb87fe54627ab29d48267c7a88d069948c01442c48aeeaeaa1104cb1e441a6) to have that working
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.
Perhaps you can create the spec it here in an ad-hoc way with a comment "for compat, will be removed in 8.1" (or when it's time)
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.
The tests seem to pass without it, is it expected?
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 ? (I'm not even sure why you didn't get a "missing system variable spec" error)
PR updated with a new commit |
2 similar comments
PR updated with a new commit |
PR updated with a new commit |
This PR is not mergeable to upper versions. |
OK, squash merging this PR |
48ad3aa
to
82ffe82
Compare
https://issues.rudder.io/issues/23322
7.X agents still read this value, we need to provide it. Usage in agent is removed in Normation/rudder-agent#387 and Normation/rudder-plugins#595.