Project

General

Profile

Actions

Bug #19212

closed

Condition is ignored after "File from remote template"

Added by Axel Bouet almost 3 years ago. Updated almost 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

Also available in: Atom PDF