Project

General

Profile

Actions

Bug #13634

closed

Generic Method "File copy from remote source" does not report when copying a directory

Added by Félix DALLIDET over 5 years ago. Updated almost 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

Somehow, the recursion level of the generic method is hardcoded to 0. Leading to missing reports when dealing with a directory since cfengine can not "produce" any
classes from the 0 level recursion of the directory....

We can change the recursion level to inf to fix this, even if the GM is called "file_from" its description explicitly says "Ensure that a file or directory is copied".

Even with this, we should add a check in the GM to be sure that if no classes are "produced", there will be an error message and not a missing report in the webapp and nothing in the agent logs.


Subtasks 2 (0 open2 closed)

Bug #13636: Generic Method "File copy from remote source" does not report when copying a directory (branch 4.3)ReleasedAlexis MoussetActions
Bug #13764: Generic method "File copy from remote source" doesn't copy nor report when copying a folder in Rudder 4.1ReleasedNicolas CHARLESActions
Actions

Also available in: Atom PDF