Project

General

Profile

Bug #5312

Technique "Enforce a file content" v5.0: post-hook modification reporting is in "Uknown" status if we request a mix of insertion, deletion and/or replacement

Added by Nicolas CHARLES over 5 years ago. Updated over 5 years ago.

Status:
Released
Priority:
N/A
Assignee:
Matthieu CERDA
Category:
Techniques
Target version:
Severity:
User visibility:
Effort required:
Priority:

Description

If we mix line insertion, deletion and/or replacement in checkgenericfilecontent, and that we wish to have posthook, we'll have unknown status for posthook

The condition of posthook should be on global state of file, not on each component


Related issues

Related to Rudder - Bug #5318: Technique "Enforce a file content" v5.0: post-hook modification reporting is in "No answer" status if the file is correctReleased2014-07-24Actions
Has duplicate Rudder - Bug #6089: enforce file content post modification hook if section is modified but global state of the file is not changedRejected2015-01-07Actions

Associated revisions

Revision 2e65ee2d (diff)
Added by Nicolas CHARLES over 5 years ago

Fixes #5312: correct reporting on check generic file content

Revision f446cab5
Added by Matthieu CERDA over 5 years ago

Merge pull request #450 from ncharles/bug_5312/dev/correct_report_on_check_generic_file_content

Fixes #5312: correct reporting on check generic file content

History

#1

Updated by Nicolas CHARLES over 5 years ago

  • Status changed from New to Pending technical review
  • Assignee changed from Nicolas CHARLES to Matthieu CERDA
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/450
#2

Updated by Nicolas CHARLES over 5 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Applied in changeset policy-templates:commit:2e65ee2d403a4a53c7544217683206db9cd47772.

#3

Updated by Matthieu CERDA over 5 years ago

Applied in changeset policy-templates:commit:f446cab547a0e3a7835891471eb801f3b95db237.

#4

Updated by Nicolas PERRON over 5 years ago

  • Subject changed from In checkGenericFileContent v5.0, reporting on post modification hook can be unknown to Technique "Enforce a file content" v5.0: post-hook modification reporting is in "Uknown" status if we request a mix of insertion, deletion and/or replacement
#5

Updated by Nicolas PERRON over 5 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.6.17, which was released today.
Check out:

Also available in: Atom PDF