realms-wiki/srv/salt/users/init.sls

26 lines
398 B
Plaintext
Raw Normal View History

2013-09-25 23:27:25 +03:00
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