init.sls 325 B

1234567891011121314151617181920212223
  1. #
  2. # Vim magic
  3. #
  4. sudo:
  5. pkg.installed:
  6. - name: sudo
  7. /etc/sudoers.d:
  8. file.directory:
  9. - user: root
  10. - group: root
  11. - mode: 755
  12. - makedirs: True
  13. /etc/sudoers:
  14. file.managed:
  15. - source: salt://sudo/sudoers
  16. /etc/sudoers.d/ffho:
  17. file.managed:
  18. - source: salt://sudo/ffho.tmpl
  19. - template: jinja