Project

General

Profile

Actions

Bug #13935

open

When we use undefined variable in directive or technique editor, the policy is silently skipped

Added by Nicolas CHARLES almost 6 years ago. Updated 3 months ago.

Status:
New
Priority:
N/A
Category:
Agent
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Very large
Priority:
0
Name check:
Fix check:
Regression:

Description

Let's say we want to define ip for interface bond0, and we set the variable IPADDR of file "/etc/sysconfig/network/ifcfg-bon
d0" to "IPADDR='${sys.ipv4[bond0]}'"

if IP is not existing, this policy will be silently skipped, and we won't know why

This is the parent ticket for this issue, making a subticket for the case of "file content", toreport an error is nothing is to be done at all


Subtasks 1 (1 open0 closed)

Bug #13936: Technique "File content" silently ignore content if we use unset variablesNewActions
Actions

Also available in: Atom PDF