Advertisement
Guest User

Untitled

a guest
Apr 3rd, 2014
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. {% set new_minion_grains = salt['mine.get'](pillar['new_minion'], 'grains.items') %}
  2.  
  3. /usr/sbin/ufw allow proto tcp from {{ new_minion_grains['main_ip'][0] }} to any port 9997:
  4. cmd.run
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement