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.

99 lines
2.3KB

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