Advertisement
Guest User

Untitled

a guest
Jul 25th, 2014
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. ------ pillar ---------------------------
  2. disks:
  3. /dev/disk/by-id/ata-WDC_WD30EZRX-serialXXX:
  4. - type: sat
  5. - email: notification@email.com
  6. - schedule: (S/../.././09|L/../../1/09)
  7.  
  8. ----- jinja template -----------------
  9. {% for disk in pillar.get('disks', {}) %}
  10. {{disk}} -a -d {{disk.get('type')}} -I 194 -m {{disk.get('email')}} -s {{disk.get('schedule')}}
  11. {% endfor %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement