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.

71 lines
1.6KB

  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. {%- if system.kernel.hugepages is defined %}
  15. - linux.system.hugepages
  16. {%- endif %}
  17. {%- endif %}
  18. {%- if system.cpu is defined %}
  19. - linux.system.cpu
  20. {%- endif %}
  21. {%- if system.locale|length > 0 %}
  22. - linux.system.locale
  23. {%- endif %}
  24. {%- if system.prompt is defined %}
  25. - linux.system.prompt
  26. {%- endif %}
  27. {%- if system.bash is defined %}
  28. - linux.system.bash
  29. {%- endif %}
  30. {%- if system.user|length > 0 %}
  31. - linux.system.user
  32. {%- endif %}
  33. {%- if system.group|length > 0 %}
  34. - linux.system.group
  35. {%- endif %}
  36. {%- if system.rc is defined %}
  37. - linux.system.rc
  38. {%- endif %}
  39. {%- if system.job|length > 0 %}
  40. - linux.system.job
  41. {%- endif %}
  42. {%- if grains.os_family == 'RedHat' %}
  43. - linux.system.selinux
  44. {%- endif %}
  45. {%- if system.ca_certificates is defined %}
  46. - linux.system.certificate
  47. {%- endif %}
  48. {%- if system.apparmor is defined %}
  49. - linux.system.apparmor
  50. {%- endif %}
  51. {%- if system.console is defined %}
  52. - linux.system.console
  53. {%- endif %}
  54. {%- if system.doc is defined %}
  55. - linux.system.doc
  56. {%- endif %}
  57. {%- if system.limit|length > 0 %}
  58. - linux.system.limit
  59. {%- endif %}
  60. {%- if system.motd|length > 0 %}
  61. - linux.system.motd
  62. {%- endif %}
  63. {%- if system.get('policyrcd', [])|length > 0 %}
  64. - linux.system.policyrcd
  65. {%- endif %}
  66. {%- if system.haveged is defined %}
  67. - linux.system.haveged
  68. {%- endif %}
  69. {%- if system.config is defined %}
  70. - linux.system.config
  71. {%- endif %}