Advertisement
Guest User

Untitled

a guest
Jun 14th, 2013
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. State: - file
  2. Name: /etc/network/interfaces
  3. Function: managed
  4. Result: False
  5. Comment: Traceback (most recent call last):
  6. File "/usr/lib/pymodules/python2.7/salt/utils/templates.py", line 58, in render_tmpl
  7. output = render_str(tmplstr, context, tmplpath)
  8. File "/usr/lib/pymodules/python2.7/salt/utils/templates.py", line 107, in render_jinja_tmpl
  9. output = jinja_env.from_string(tmplstr).render(**context)
  10. File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 894, in render
  11. return self.environment.handle_exception(exc_info, True)
  12. File "<template>", line 3, in top-level template code
  13. File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 954, in module
  14. self._module = rv = self.make_module()
  15. File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 938, in make_module
  16. return TemplateModule(self, self.new_context(vars, shared, locals))
  17. File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 994, in __init__
  18. self._body_stream = list(template.root_render_func(context))
  19. File "/var/cache/salt/minion/files/network_rework/network/file/Ubuntu/base.jinja", line 4, in top-level template code
  20. {% set phys_lan = salt['pillar.get']('physical_iface', []) -%}
  21. File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 353, in getitem
  22. return obj[argument]
  23. UndefinedError: 'salt' is undefined
  24.  
  25. Changes:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement