Project

General

Profile

Actions

Bug #9113

closed

Techniques use ${sys.workdir} for paths of ressources files (ex: properties), which prevent their validation by the Web Interface during policies generation

Added by Nicolas CHARLES about 8 years ago. Updated about 8 years ago.

Status:
Released
Priority:
1 (highest)
Category:
Techniques
Target version:
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

Also available in: Atom PDF