Created
June 30, 2016 17:15
-
-
Save anonymous/5ae225d92d659cd0fb1c3c783b073cc0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Rendering SLS 'base:icinga2' failed: Jinja error: 'python2_bin' | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/site-packages/salt/utils/templates.py", line 366, in render_jinja_tmpl | |
output = template.render(**decoded_context) | |
File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 969, in render | |
return self.environment.handle_exception(exc_info, True) | |
File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 742, in handle_exception | |
reraise(exc_type, exc_value, tb) | |
File "<template>", line 25, in top-level template code | |
File "/usr/lib/python2.7/site-packages/salt/client/ssh/wrapper/mine.py", line 48, in get | |
ssh = salt.client.ssh.SSH(opts) | |
File "/usr/lib/python2.7/site-packages/salt/client/ssh/__init__.py", line 288, in __init__ | |
python2_bin=self.opts['python2_bin'], | |
KeyError: 'python2_bin' | |
; line 25 | |
--- | |
[...] | |
/etc/icinga2/conf.d/hosts/: | |
file.directory | |
# Get all machines instances on saltmaster | |
{% for host, hostinfo in salt['mine.get']('*','network.interfaces').items() -%} <====================== | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment