Skip to content

[BUG] Jinja2 3.0 support breaking changes #60188

@Oloremo

Description

@Oloremo

Jinja2 3.0 was released a few days ago and seems like Salt can't work with it.

We have issues like this:

    Data failed to compile:'
----------'
    Rendering SLS ''base:formula.logstash.common/install'' failed: Jinja variable ''pillar'' is undefined'
/opt/behavox/salt/cache/minion/files/base/formula/kibana/vars.yaml(2):'
---'
---'
{% set third_party_packages_path = pillar.get(''third_party_packages_path'') %}    <======================'
[...]'

Metadata

Metadata

Assignees

Labels

Bugbroken, incorrect, or confusing behaviorRegressionThe issue is a bug that breaks functionality known to work in previous releases.Silicon v3004.0Release code nameseverity-high2nd top severity, seen by most users, causes major problems

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions