Created
November 7, 2017 19:33
-
-
Save anonymous/82dd8916bb4de103c82fc4906ae8204d 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
Data failed to compile: | |
---------- | |
Rendering SLS 'prod:nagios.nrpe' failed: Jinja syntax error: unexpected '%' | |
/var/cache/salt/minion/files/prod/nagios/nrpe/map.jinja(3): | |
--- | |
{% set nrpe = salt['grains.filter_by']({ | |
'Debian': { | |
{% if grains.['lsb_distrib_release'] >= '9' %} <====================== | |
'plugins': ['nagios-plugins-basic', 'nagios-plugins-contrib', 'sudo', 'cron-apt', 'libmonitoring-plugin-perl'], | |
{% endif %} | |
'plugins': ['nagios-plugins-basic', 'nagios-plugins-contrib', 'sudo', 'cron-apt', 'libnagios-plugin-perl'], | |
'server': 'nagios-nrpe-server', | |
'service': 'nagios-nrpe-server', | |
[...] | |
--- | |
ERROR: Minions returned with non-zero exit code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment