Project

General

Profile

Actions

Bug #11122

closed

File check exists generic method produces error when file does not exist

Added by Hamlyn Mootoo over 7 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Techniques
Target version:
-
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Priority:
52
Name check:
Fix check:
Regression:

Description

A directive created from a technique using the "File check exists" method created using the technique editor causes an error when the agent runs. this error is also reflected in the GUI.

I had intended to use the output condition of the "File check exists" method as input to decide whether another method should get executed, but even in this scenario, an error is generated. The subsequent method correctly does not get executed because the indicated file does not actually exist, but the generation of the error is not what I expected so it throws off the compliance percentage.

E| error test File check exists /etc/pam.d/passwo| Check if /etc/pam.d/password-auth exists could not be repaired
E| n/a test Sharedfile to node password-auth Sharedfile to node password-auth if any.file_check_exists__etc_pam_d_password_auth_kept was not applicable


Files

user_technique_in_editor.JPG (133 KB) user_technique_in_editor.JPG Hamlyn Mootoo, 2017-07-09 23:32
Actions

Also available in: Atom PDF