Saltstack Official Users Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

24 行
469B

  1. sudo:
  2. group:
  3. - present
  4. - system: True
  5. pkg:
  6. - installed
  7. - require:
  8. - group: sudo
  9. - file: /etc/sudoers.d
  10. /etc/sudoers.d:
  11. file:
  12. - directory
  13. sudoer-defaults:
  14. file.append:
  15. - name: /etc/sudoers
  16. - require:
  17. - pkg: sudo
  18. - text:
  19. - Defaults env_reset
  20. - Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
  21. - '#includedir /etc/sudoers.d'