Skip to content

Instantly share code, notes, and snippets.

@JasonSwindle
Created January 20, 2014 19:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JasonSwindle/7813df6344c7163393c6 to your computer and use it in GitHub Desktop.
Save JasonSwindle/7813df6344c7163393c6 to your computer and use it in GitHub Desktop.
2014-01-20 13:05:57,816 [salt.state ][CRITICAL] Rendering SLS "base:project.app.postgres" failed: Jinja syntax error: unexpected char u'@' at 2118; line 80
---
[...]
- file: postgres_ssh_private_dir
barman_public_ssh_fingerprint:
ssh_known_hosts.present:
{% for util in salt['publish.publish'](G@node_type:util and G@env:dev and G@datacenter:iad, 'network.ip_addrs', 'eth0', 'compound').values() %} <======================
- name: {{ salt['publish.publish']( util_compound_string , 'network.ip_addrs', 'eth0', 'compound').pop() }}
{% endfor %}
- user: postgres
- config: /var/lib/postgresql/.ssh/known_hosts
- enc: ssh-rsa
[...]
---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment