Merge pull request #24589 from BretFisher/patch-1

Fixed Mine example for jinja code block
This commit is contained in:
Nicole Thomas 2015-06-11 09:48:02 -06:00
commit d83928a7f9

View file

@ -107,7 +107,7 @@ to add them to the pool of load balanced servers.
<...file contents snipped...>
{% for server, addrs in salt['mine.get']('roles:web', 'network.ip_addrs', expr_form='grain').items() %}
{% for server, addrs in salt['mine.get']('roles:web', 'network.ip_addrs', expr_form='pillar').items() %}
server {{ server }} {{ addrs[0] }}:80 check
{% endfor %}