Actions
Bug #13634
closedGeneric Method "File copy from remote source" does not report when copying a directory
Pull Request:
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.
Actions