Project

General

Profile

Actions

Bug #19212

closed

Condition is ignored after "File from remote template"

Added by Axel Bouet over 3 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:

Description

Hello,
I'm trying to create a file in /etc/rsyslog.d/ to send logs in a specific file then restart rsyslog.
When I use a template "File from remote template" and "Service restart" with condition "Repaired", it ignore my condition...
E| repaired TECH_Config_logs_for_R| File from remote template /etc/rsyslog.d/10| Build file /etc/rsyslog.d/10-rudder.conf from template /var/rudder/configuration-repository/shared-files/template-mustache-10-rudderconf-v1.tpl was repaired
E| n/a TECHConfig_logs_for_R| Service restart (rsyslog) rsyslog Skipping method 'Service restart' with key parameter 'rsyslog' since condition 'any.(file_from_remote_template__etc_rsyslog_d_10_rudder_conf_repaired)' is not reached was not applicable

Thanks.

Actions #1

Updated by Alexis Mousset over 3 years ago

  • Project changed from Rudder to 41
  • Category set to Generic methods - File Management
  • Target version set to 6.1.13
Actions #2

Updated by Alexis Mousset over 3 years ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #3

Updated by Alexis Mousset over 3 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Félix DALLIDET
  • Pull Request set to https://github.com/Normation/ncf/pull/1290
Actions #5

Updated by Alexis Mousset over 3 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:1b3d69540050c9492f7b52f44094b462c7f55290.

Actions #6

Updated by Alexis Mousset over 3 years ago

  • Fix check changed from To do to Checked
Actions #7

Updated by Vincent MEMBRÉ over 3 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.1.13 and 6.2.7 which were released today.

Actions #8

Updated by Alexis Mousset over 2 years ago

  • Project changed from 41 to Rudder
  • Category changed from Generic methods - File Management to Generic methods
Actions

Also available in: Atom PDF