Created
March 19, 2015 18:21
-
-
Save anonymous/27601ba148168d708e0e 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
{% for ip in salt['grains.get']('ipv4', '') -%} | |
{% if ip.startswith('10') -%} | |
if failed host {{ ip }} port 3054 type TCP then restart | |
if failed host {{ ip }} ipaddr port 3154 protocol http | |
{%- endif %} | |
{%- endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment