realms-wiki/srv/salt/users/init.sls
Matthew Scragg 7b39666270 init
2013-09-25 15:27:25 -05:00

26 lines
398 B
Plaintext

deploy:
user.present:
- shell: /bin/bash
- home: /home/deploy
- fullname: Deploy
scragg:
user.present:
- fullname: Matthew Scragg
- shell: /bin/bash
- home: /home/scragg
sudo:
pkg:
- installed
/etc/sudoes.d/mysudoers:
file:
- managed
- source: salt://users/mysudoers
- mode: 440
- user: root
- group: root
- require:
- pkg: sudo