Saltstack Official Linux Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.0KB

  1. {%- from "linux/map.jinja" import system with context %}
  2. include:
  3. {%- if system.repo|length > 0 %}
  4. - linux.system.repo
  5. {%- endif %}
  6. {%- if system.pkgs|length > 0 %}
  7. - linux.system.package
  8. {%- endif %}
  9. {%- if system.timezone is defined %}
  10. - linux.system.timezone
  11. {%- endif %}
  12. {%- if system.kernel is defined %}
  13. - linux.system.kernel
  14. {%- endif %}
  15. {%- if system.locale is defined %}
  16. - linux.system.locale
  17. {%- endif %}
  18. {%- if system.user|length > 0 %}
  19. - linux.system.user
  20. {%- endif %}
  21. {%- if system.group|length > 0 %}
  22. - linux.system.group
  23. {%- endif %}
  24. {%- if system.job|length > 0 %}
  25. - linux.system.job
  26. {%- endif %}
  27. {%- if grains.os_family == 'RedHat' %}
  28. - linux.system.selinux
  29. {%- endif %}
  30. {%- if system.ca_certificates is defined %}
  31. - linux.system.certificate
  32. {%- endif %}
  33. {%- if system.apparmor is defined %}
  34. - linux.system.apparmor
  35. {%- endif %}
  36. {%- if system.console is defined %}
  37. - linux.system.console
  38. {%- endif %}
  39. {%- if system.doc is defined %}
  40. - linux.system.doc
  41. {%- endif %}
  42. {%- if system.limit|length > 0 %}
  43. - linux.system.limit
  44. {%- endif %}