Unable to access salt dunders from global scope within py pillar templates. #10270
Labels
Bug
broken, incorrect, or confusing behavior
Core
relates to code central or existential to Salt
P2
Priority 2
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
stale
Milestone
Unable to access salt dunders from global scope within py pillar templates.
Changing the pytest.sls file so that it runs just once without render errors:
Now change pytest.sls back to using opts dunder:
It will stop working again when the master is restarted. Also, if you get it to render once without errors it will only work with that one master thread:
The dunders work as expected if accessed within the run() function:
The text was updated successfully, but these errors were encountered: