Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- State: - file
- Name: /etc/network/interfaces
- Function: managed
- Result: False
- Comment: Traceback (most recent call last):
- File "/usr/lib/pymodules/python2.7/salt/utils/templates.py", line 58, in render_tmpl
- output = render_str(tmplstr, context, tmplpath)
- File "/usr/lib/pymodules/python2.7/salt/utils/templates.py", line 107, in render_jinja_tmpl
- output = jinja_env.from_string(tmplstr).render(**context)
- File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 894, in render
- return self.environment.handle_exception(exc_info, True)
- File "<template>", line 3, in top-level template code
- File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 954, in module
- self._module = rv = self.make_module()
- File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 938, in make_module
- return TemplateModule(self, self.new_context(vars, shared, locals))
- File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 994, in __init__
- self._body_stream = list(template.root_render_func(context))
- File "/var/cache/salt/minion/files/network_rework/network/file/Ubuntu/base.jinja", line 4, in top-level template code
- {% set phys_lan = salt['pillar.get']('physical_iface', []) -%}
- File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 353, in getitem
- return obj[argument]
- UndefinedError: 'salt' is undefined
- Changes:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement