Advertisement
Guest User

Untitled

a guest
Apr 30th, 2015
334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. [CRITICAL] Rendering SLS 'base:services.syslog-ng.config' failed: Jinja syntax error: can't assign to 'const'
  2. /var/cache/salt/minion/files/base/services/syslog-ng/map.jinja(1):
  3. ---
  4. {% set 'syslog-ng' = salt['grains.filter_by']({ <======================
  5. 'RedHat': {
  6. 'package': 'syslog-ng',
  7. 'service': 'syslog-ng',
  8. 'syslog_ng_config': '/etc/syslog-ng/syslog-ng.conf',
  9. 'syslog_ng_config_src': 'salt://syslog-ng/files/syslog-ng.conf',
  10. [...]
  11. ---
  12. [CRITICAL] Rendering SLS 'base:services.syslog-ng.init' failed: Jinja syntax error: expected token 'block_end', got '-'; line 1
  13.  
  14. ---
  15. {% from "services/syslog-ng/map.jinja" import syslog-ng with context %} <======================
  16.  
  17. syslog-ng:
  18. pkg.installed:
  19. - name: {{ syslog-ng.package }}
  20.  
  21. [...]
  22. ---
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement