You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to render any sls templates with wempy, the following stacktrace is dumped:
Data failed to compile:
----------
Rendering SLS idol.generic_content failed, render error:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/salt/state.py", line 1779, in render_state
fn_, self.state.rend, self.state.opts['renderer'], env, sls, rendered_sls=mods)
File "/usr/lib/python2.6/site-packages/salt/template.py", line 61, in compile_template
ret = render(input_data, env, sls, **render_kwargs)
File "/usr/lib/python2.6/site-packages/salt/renderers/wempy.py", line 15, in render
tmp_data = salt.utils.templates.wempy(template_file, to_str=True,
AttributeError: 'module' object has no attribute 'wempy'
'module' object has no attribute 'wempy'
This issue is not present in file.managed/file.recurse template calls, but is present with the following hash-bang lines on SLS templates (or if any of these are chosen as the default renderer in /etc/salt/master):
#!yaml_wempy
#!json_wempy
#!wempy | yaml
#!wempy | json
#!wempy
The text was updated successfully, but these errors were encountered:
sorry, I've been away from salt. This appears to be the same issue caused by the refactoring a long time ago(ie, someone decided to change lower case name to upper case name). So, I'm guessing that simply change tmp_data = salt.utils.templates.wempy(template_file, to_str=True, to tmp_data = salt.utils.templates.WEMPY(template_file, to_str=True, will fix the problem.
When attempting to render any sls templates with wempy, the following stacktrace is dumped:
This issue is not present in file.managed/file.recurse template calls, but is present with the following hash-bang lines on SLS templates (or if any of these are chosen as the default renderer in /etc/salt/master):
The text was updated successfully, but these errors were encountered: