Closed darkpixel closed 1 year ago
Able to reproduce on Linux. But this seems to be a general Salt problem, and not related to this repo.
\- global
\- ad
|- init.sls
|- map.sls
\- test.sls
map.jinja
{% set ad = ({
"domain": "example.com"
})%}
init.sls
{% from tpldir ~ "/map.jinja" import ad with context %}
{% do salt.log.error(ad.domain) %} <=== WORKS
include:
- .test
test.sls
{% from tpldir ~ "/map.jinja" import ad with context %} <== does NOT work
{% do salt.log.error(ad.domain) %}
When importing in init.sls it works, but when importing in a different file I get the same same "NoneType has no attr 'done'
error as OP.
You're right @Foorack. Looks like it's being tracked here: https://github.com/saltstack/salt/issues/64111
I'm going to close this out because it appears to be a bug with Jinja template rendering, not with salt-formula.
I recently did a git pull to update my salt-formula to the latest version. Windows minions (are running Salt 3005.1) are throwing this error when applying the salt.minion state:
Pillar from a minion throwing the error: