Skip to content

Instantly share code, notes, and snippets.

/error Secret

Created June 18, 2015 16:30
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 anonymous/e6f63f301ccd35c80ed8 to your computer and use it in GitHub Desktop.
Save anonymous/e6f63f301ccd35c80ed8 to your computer and use it in GitHub Desktop.
Varnish01:
Data failed to compile:
----------
Rendering SLS "base:newrelic.plugins.plugin" failed: Jinja error: map.jinja
Traceback (most recent call last):
File "/opt/local/lib/python2.7/site-packages/salt/utils/templates.py", line 261, in render_jinja_tmpl
output = jinja_env.from_string(tmplstr).render(**unicode_context)
File "/opt/local/lib/python2.7/site-packages/jinja2/environment.py", line 969, in render
return self.environment.handle_exception(exc_info, True)
File "/opt/local/lib/python2.7/site-packages/jinja2/environment.py", line 742, in handle_exception
reraise(exc_type, exc_value, tb)
File "<template>", line 1, in top-level template code
File "/opt/local/lib/python2.7/site-packages/salt/utils/jinja.py", line 122, in get_source
raise TemplateNotFound(template)
TemplateNotFound: map.jinja
; line 1
---
{% from "map.jinja" import pluginSettings with context %} <======================
/tmp/{{ pluginSettings.pluginName }}.tar.gz:
file.managed:
- source: salt://newrelic/plugins/{{ pluginSettings.appName }}/files/{{ pluginSettings.pluginName }}.tar.gz
- mode: 600
[...]
---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment