Advertisement
Guest User

Untitled

a guest
Apr 29th, 2015
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. 22222
  2. {% if salt['pillar.get']('prodhost') == True %}
  3. tcp("appslog" port(2514));
  4. {% else %}
  5. tcp("appslog" port(2614));
  6. {% if salt['pillar.get']('testhost') == True %}
  7. tcp("appslog" port(2814));
  8. {% else %}
  9. tcp("appslog" port(2914));
  10. {% endif %}
  11. };
  12.  
  13. log {
  14. {% if salt['pillar.get']('testhost') == True %}
  15. tcp("appslog" port(3814));
  16. {% else %}
  17. tcp("appslog" port(3914));
  18. {% endif %}
  19. };
  20. {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement