Skip to content

Instantly share code, notes, and snippets.

@cowmix
Created October 24, 2013 20:42
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 cowmix/abb38aa7fdfe6da04bf2 to your computer and use it in GitHub Desktop.
Save cowmix/abb38aa7fdfe6da04bf2 to your computer and use it in GitHub Desktop.
[INFO ] Executing state file.managed for /etc/nginx/upstream-list.conf
[DEBUG ] Jinja search path: '['/srv/salt']'
[ERROR ] Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/salt/utils/templates.py", line 79, in render_tmpl
output = render_str(tmplstr, context, tmplpath)
File "/usr/lib/pymodules/python2.7/salt/utils/templates.py", line 157, in render_jinja_tmpl
output = jinja_env.from_string(tmplstr).render(**unicode_context)
File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 894, in render
return self.environment.handle_exception(exc_info, True)
File "<template>", line 3, in top-level template code
File "/usr/lib/pymodules/python2.7/salt/modules/publish.py", line 148, in publish
return _publish(tgt, fun, arg, expr_form, returner, timeout, 'clean')
File "/usr/lib/pymodules/python2.7/salt/modules/publish.py", line 53, in _publish
log.info('Publishing {0!r} to {master_uri}'.format(fun, **__opts__))
KeyError: 'master_uri'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment