Actions
Bug #5740
closedSecure template application
Status:
Released
Priority:
1 (highest)
Assignee:
Jonathan CLARKE
Category:
Generic methods
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
Sometimes, CFEngine fails to apply templates.
It happens on certain conditions:- The source template does not exist
- The template expansion failed
We should do apply the templates in a local directory first, and then apply it on the final destination if the file is a least not empty, but doing this would make applying an empty file impossible...
For now, we should abort the template application if the source template is not here.
Actions