Advertisement
Guest User

Untitled

a guest
Mar 14th, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. Data failed to compile:
  2. ----------
  3. Rendering SLS 'base:packages.logcheck.config' failed: Jinja error: 'NoneType' object is not iterable
  4. Traceback (most recent call last):
  5. File "/usr/lib/python2.7/dist-packages/salt/utils/templates.py", line 366, in render_jinja_tmpl
  6. output = template.render(**decoded_context)
  7. File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 894, in render
  8. return self.environment.handle_exception(exc_info, True)
  9. File "<template>", line 22, in top-level template code
  10. TypeError: 'NoneType' object is not iterable
  11.  
  12. ; line 22
  13.  
  14. ---
  15. [...]
  16. - append_if_not_found: True
  17. - show_changes: True
  18. - require:
  19. - pkg: logcheck
  20. - content: |
  21. {% for logfile in logfiles %} <======================
  22. {{ logfile }}
  23. {% endfor %}
  24.  
  25. Traceback (most recent call last):
  26. File "/usr/lib/python2.7/dist-packages/salt/utils/templates.py", line 366, in render_jinja_tmpl
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement