Bug #19212
closedCondition is ignored after "File from remote template"
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.
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
Updated by Alexis Mousset over 3 years ago
- Status changed from New to In progress
- Assignee set to Alexis Mousset
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
Updated by François ARMAND over 3 years ago
related to that gitter chat: https://gitter.im/normation/rudder?at=608c29bd75aeb43be71c024a
Updated by Alexis Mousset over 3 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset commit:1b3d69540050c9492f7b52f44094b462c7f55290.
Updated by Alexis Mousset over 3 years ago
- Fix check changed from To do to Checked
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.
Updated by Alexis Mousset over 2 years ago
- Project changed from 41 to Rudder
- Category changed from Generic methods - File Management to Generic methods