Advertisement
Guest User

Untitled

a guest
Jan 20th, 2015
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. {% for account in salt['pillar.get']('accounts')[:-1] -%}
  2. {{ account[0] }}:{{ salt['password.hash'](account[1]) }}:1001:1001::/vmail:/bin/nologin
  3. {% endfor -%}{% set account = salt['pillar.get']('accounts')[-1] %}{{ account[0] }}:{{ salt['password.hash'](account[1]) }}:1001:1001::/vmail:/bin/nologin
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement