Advertisement
hatifnatt

users pillar

Dec 20th, 2016
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. users:
  2. backuppc:
  3. fullname: BackupPC Service
  4. password: '*'
  5. enforce_password: True
  6. empty_password: False
  7. hash_password: False
  8. sudouser: True
  9. sudo_rules:
  10. - ALL = NOPASSWD:/usr/bin/rsync, /bin/tar
  11. {% if grains['os_family'] == 'FreeBSD' -%}
  12. shell: /usr/local/bin/bash
  13. {% else -%}
  14. shell: /bin/bash
  15. {% endif -%}
  16. prime_group:
  17. name: nogroup
  18. ssh_auth_sources:
  19. - salt://users/files/backuppc/backuppc.pub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement