file_tree templating in develop breaks existing usage #40978
Labels
Bug
broken, incorrect, or confusing behavior
Core
relates to code central or existential to Salt
fixed-pls-verify
fix is linked, bug author to confirm fix
ZRELEASED - 2017.7.0rc1
Milestone
Description of Issue/Question
In the
develop
branch templating/renderer functionality has been added to thefile_tree
external pillar. Unfortunately, this breaks the existing behaviour, where file contents are just read in to the pillar dict as strings.Currently, if
render_default
andrenderer_blacklist/whitelist
aren't specified in the master configuration file for thefile_tree
, they're just left asNone
internally. As a result, thesalt.template.compile_template_str
function that is called to template each file thus attempts to pass it through an empty renderer pipeline and just returns an empty dictionary instead of a templated string.I am not familiar enough with the codebase to know what the preferred change would be to solve the problem... on that note, in the mean-time is there an e.g. 'plaintext' renderer I can specify to get the old behaviour?
Setup
/etc/salt/master
:Steps to Reproduce Issue
Have a minion called
test
. Do:Expected output:
Actual output:
Versions Report
salt 2017.5.0-85-g8f7e8e4
The text was updated successfully, but these errors were encountered: