Project

General

Profile

Actions

Bug #11862

closed

Architecture #10625: Don't merge directive from same technique on generation

RudderUniqueID is not replaced when used in OUTPATH

Added by Nicolas CHARLES about 7 years ago. Updated over 6 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Very Small
Priority:
77
Name check:
Fix check:
Regression:

Description

With the following code in the metadata.xml

  <TMLS>
    <TML name="filesPermissions"/>
    <TML name="permlist">
      <INCLUDED>false</INCLUDED>
      <OUTPATH>filesPermissions/RudderUniqueID/permlist</OUTPATH>
    </TML>
  </TMLS>

i get the following paths

.
├── 2.1_84a1104f_1164_4e74_bb4b_7f1552005ea5
│   └── filesPermissions.cf
└── RudderUniqueID
    └── permlist

I was expecting RudderUniqueID to be replaced


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #12344: RudderUniqueId is not replaced when using OUTPATH in metadata, causing no report in File PermissionsReleasedNicolas CHARLESActions
Actions #1

Updated by Benoît PECCATTE almost 7 years ago

  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • User visibility set to Operational - other Techniques | Technique editor | Rudder settings
  • Effort required set to Very Small
  • Priority changed from 0 to 80
Actions #2

Updated by François ARMAND almost 7 years ago

  • Status changed from New to In progress
Actions #3

Updated by François ARMAND almost 7 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder/pull/1835
Actions #4

Updated by François ARMAND almost 7 years ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Vincent MEMBRÉ almost 7 years ago

  • Parent task set to #10625
  • Priority changed from 80 to 79
Actions #6

Updated by Vincent MEMBRÉ almost 7 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.3.0~beta1 which was released today.

Actions #7

Updated by Nicolas CHARLES over 6 years ago

  • Priority changed from 79 to 77

I still have this issue:

/var/rudder/cfengine-community/inputs/filesPermissions# tree
.
├── 2.2_04f409ae_fa6e_4495_85d4_594cc5eb1533
│   └── filesPermissions.cf
└── RudderUniqueID
    └── permlist

2 directories, 2 files

Actions #8

Updated by Nicolas CHARLES over 6 years ago

  • Related to Bug #12344: RudderUniqueId is not replaced when using OUTPATH in metadata, causing no report in File Permissions added
Actions

Also available in: Atom PDF