Project

General

Profile

Actions

Bug #19212

open

Condition is ignored after "File from remote template"

Added by Axel Bouet 16 days ago. Updated 11 days ago.

Status:
Pending release
Priority:
N/A
Category:
Generic methods - File Management
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

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 16 days ago

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

Updated by Alexis MOUSSET 16 days ago

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

Updated by Alexis MOUSSET 16 days 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 15 days ago

  • Status changed from Pending technical review to Pending release
Actions

Also available in: Atom PDF