Actions
Bug #5882
closedUser story #5293: Add a 'changes only' compliance mode, only reporting changes on systems
System variable RUDDER_REPORT_MODE is never set
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
Web - Maintenance
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
The system variable RUDDER_REPORT_MODE should contain value "changes-only" or "full-compliance", to tell the promises what mode to run in.
This is correctly defined in cf-clerk:
./src/main/scala/com/normation/cfclerk/services/impl/SystemVariableSpecServiceImpl.scala:154: , SystemVariableSpec("RUDDER_REPORT_MODE", "Defines if Rudder should send compliance reports or only change (error, repair) one. (default full-compliance)"
But never used in rudder:
$ grep -rHni REPORT_MODE rudder/ $
And of course, this means the value is never set in the generated promises:
# on changes only, we only reports on repaired or error message "changes_only" expression => strcmp("", "changes-only"); # full compliance is the default mode "full_compliance" not => "changes_only";
(that empty string on line 2 should be "changes-only" or "full-compliance")
Updated by Jonathan CLARKE almost 10 years ago
- Target version changed from 3.0.0~beta2 to 3.0.0~beta1
Updated by Vincent MEMBRÉ almost 10 years ago
- Status changed from New to Pending technical review
- Pull Request set to https://github.com/Normation/rudder/pull/673
Updated by Vincent MEMBRÉ almost 10 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset 7e6317ad747e2f3cbdaa581508de6c27b2e734f0.
Updated by Nicolas CHARLES almost 10 years ago
Applied in changeset a1e029ce7305fce2d4d0d87f494ff0c544e5e1b2.
Updated by Vincent MEMBRÉ almost 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.0.0~beta1 which was release on 01/12/2014.
- Announcement
- Changelog
- "Download information": https://www.rudder-project.org/site/get-rudder/downloads/
Actions