Project

General

Profile

Actions

Bug #15174

closed

Rudder directives posthook can not support multilines command execution

Added by Félix DALLIDET almost 5 years ago. Updated over 4 years ago.

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

Description

Posthook can only execute one bash command, but this command should be able to be multiline.
Due to the spacing in the technique file, and how string_template replaces the parameters, the resulting spacing is broken and add unwanted spaces in the posthook when dealing with multiline ones.

We should fix the spacing in all directives using posthooks


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #8933: Multi-line command in post-modification hooks works incorrectlyReleasedNicolas CHARLESActions
Actions

Also available in: Atom PDF