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 #1

Updated by Nicolas CHARLES about 8 years ago

  • Status changed from New to In progress
Actions #2

Updated by Nicolas CHARLES about 8 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1043
Actions #3

Updated by Nicolas CHARLES about 8 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #4

Updated by Vincent MEMBRÉ about 8 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.1.15/14 and 3.2.8/7 which were released today.

Actions

Also available in: Atom PDF