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 #7460: Keep all outputs in disabled reporting mode #781

Conversation

VinceMacBuche
Copy link
Member

@@ -139,7 +139,7 @@ bundle agent rudder_common_report_index(technique_name, status, identifier, comp
action => immediate;

reports:
full_compliance|send_reports::
full_compliance|reports_disabled|send_reports::
Copy link
Member

Choose a reason for hiding this comment

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

I don't like writing "print a report if reports are disabled". It just doesn't make sense.

But we do need to read these reports!

I propose instead:

!changes_only|(changes_only.send_reports)

Copy link
Member

Choose a reason for hiding this comment

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

do we really want to have even success in no reports ?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think so, since you only have the outputs You are not able to understand what was done

At least in changes-only you can look into rudder compliance reporting

Copy link
Member

Choose a reason for hiding this comment

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

+1 on the change, yes. It's particularly hard to debug if you only see half of the error messages!

Copy link
Member

Choose a reason for hiding this comment

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

Well, messages.

@VinceMacBuche
Copy link
Member Author

PR updated

@VinceMacBuche VinceMacBuche force-pushed the bug_7460/keep_all_outputs_in_disabled_reporting_mode branch from af78763 to 77f98c8 Compare November 24, 2015 15:39
@VinceMacBuche
Copy link
Member Author

Updated the logic to set the class to be more readable and replace send_reports by log_reports which is more accurate on the intent

@peckpeck
Copy link
Member

OK Merging

peckpeck added a commit that referenced this pull request Nov 24, 2015
…in_disabled_reporting_mode

Fixes #7460: Keep all outputs in disabled reporting mode
@peckpeck peckpeck merged commit 1250d27 into Normation:branches/rudder/3.2 Nov 24, 2015
amousset pushed a commit to amousset/rudder-techniques that referenced this pull request Dec 8, 2015
…et_during_build

Fixes #7370: make wget quiet during build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants