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.

83 lines
1.9KB

  1. {%- from "linux/map.jinja" import system with context %}
  2. include:
  3. - linux.system.env
  4. - linux.system.profile
  5. {%- if system.repo|length > 0 %}
  6. - linux.system.repo
  7. {%- endif %}
  8. {%- if system.pkgs|length > 0 %}
  9. - linux.system.package
  10. {%- endif %}
  11. {%- if pillar.linux.system.autoupdates is defined %}
  12. - linux.system.autoupdates
  13. {%- endif %}
  14. {%- if system.timezone is defined %}
  15. - linux.system.timezone
  16. {%- endif %}
  17. {%- if system.kernel is defined %}
  18. - linux.system.kernel
  19. {%- if system.kernel.hugepages is defined %}
  20. - linux.system.hugepages
  21. {%- endif %}
  22. {%- if system.kernel.sriov is defined %}
  23. - linux.system.sriov
  24. {%- endif %}
  25. {%- endif %}
  26. {%- if system.cpu is defined %}
  27. - linux.system.cpu
  28. {%- endif %}
  29. {%- if system.locale|length > 0 %}
  30. - linux.system.locale
  31. {%- endif %}
  32. {%- if system.prompt is defined %}
  33. - linux.system.prompt
  34. {%- endif %}
  35. {%- if system.bash is defined %}
  36. - linux.system.bash
  37. {%- endif %}
  38. {%- if system.user|length > 0 %}
  39. - linux.system.user
  40. {%- endif %}
  41. {%- if system.group|length > 0 %}
  42. - linux.system.group
  43. {%- endif %}
  44. {%- if system.rc is defined %}
  45. - linux.system.rc
  46. {%- endif %}
  47. {%- if system.job|length > 0 %}
  48. - linux.system.job
  49. {%- endif %}
  50. {%- if grains.os_family == 'RedHat' %}
  51. - linux.system.selinux
  52. {%- endif %}
  53. {%- if system.ca_certificates is defined %}
  54. - linux.system.certificate
  55. {%- endif %}
  56. {%- if system.apparmor is defined %}
  57. - linux.system.apparmor
  58. {%- endif %}
  59. {%- if system.console is defined %}
  60. - linux.system.console
  61. {%- endif %}
  62. {%- if system.doc is defined %}
  63. - linux.system.doc
  64. {%- endif %}
  65. {%- if system.limit|length > 0 %}
  66. - linux.system.limit
  67. {%- endif %}
  68. {%- if system.motd|length > 0 %}
  69. - linux.system.motd
  70. {%- endif %}
  71. {%- if system.get('policyrcd', [])|length > 0 %}
  72. - linux.system.policyrcd
  73. {%- endif %}
  74. {%- if system.haveged is defined %}
  75. - linux.system.haveged
  76. {%- endif %}
  77. {%- if system.config is defined %}
  78. - linux.system.config
  79. {%- endif %}
  80. {%- if system.sudo is defined %}
  81. - linux.system.sudo
  82. {%- endif %}