Actions
Bug #9113
closedTechniques use ${sys.workdir} for paths of ressources files (ex: properties), which prevent their validation by the Web Interface during policies generation
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
When policies are generated, they are stored in a specific folder (/var/rudder/share)
However, Techniques refer to files in ${sys.workdir}, which is fine during normal operation (when the node fetched the policies and applied them), but prevent correct validation by cf-promises by the rudder root server (as sys.workdir refer to the path of the local policies)
We should replace this variable by something like ${this.promise_dirname} (introduced in CFEngine 3.6)
Actions