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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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. - linux.system.shell
  7. {%- if system.login_defs is defined %}
  8. - linux.system.login_defs
  9. {%- endif %}
  10. {%- if system.at is defined %}
  11. - linux.system.at
  12. {%- endif %}
  13. {%- if system.cron is defined %}
  14. - linux.system.cron
  15. {%- endif %}
  16. {%- if system.repo|length > 0 %}
  17. - linux.system.repo
  18. {%- endif %}
  19. {%- if system.pkgs|length > 0 %}
  20. - linux.system.package
  21. {%- endif %}
  22. {%- if pillar.linux.system.autoupdates is defined %}
  23. - linux.system.autoupdates
  24. {%- endif %}
  25. {%- if system.timezone is defined %}
  26. - linux.system.timezone
  27. {%- endif %}
  28. {%- if system.kernel is defined %}
  29. - linux.system.kernel
  30. {%- if system.kernel.hugepages is defined %}
  31. - linux.system.hugepages
  32. {%- endif %}
  33. {%- if network.dpdk is defined %}
  34. - linux.system.dpdk
  35. {%- endif %}
  36. {%- if system.kernel.sriov is defined %}
  37. - linux.system.sriov
  38. {%- endif %}
  39. {%- endif %}
  40. {%- if system.cpu is defined %}
  41. - linux.system.cpu
  42. {%- endif %}
  43. {%- if system.sysfs is defined %}
  44. - linux.system.sysfs
  45. {%- endif %}
  46. {%- if system.cgroup is defined %}
  47. - linux.system.cgroup
  48. {%- endif %}
  49. {%- if system.locale|length > 0 %}
  50. - linux.system.locale
  51. {%- endif %}
  52. {%- if system.prompt is defined %}
  53. - linux.system.prompt
  54. {%- endif %}
  55. {%- if system.bash is defined %}
  56. - linux.system.bash
  57. {%- endif %}
  58. {%- if system.user|length > 0 %}
  59. - linux.system.user
  60. {%- endif %}
  61. {%- if system.group|length > 0 %}
  62. - linux.system.group
  63. {%- endif %}
  64. {%- if system.rc is defined %}
  65. - linux.system.rc
  66. {%- endif %}
  67. {%- if system.job|length > 0 %}
  68. - linux.system.job
  69. {%- endif %}
  70. {%- if grains.os_family == 'RedHat' %}
  71. - linux.system.selinux
  72. {%- endif %}
  73. {%- if system.ca_certificates is defined %}
  74. - linux.system.certificate
  75. {%- endif %}
  76. {%- if system.apparmor is defined %}
  77. - linux.system.apparmor
  78. {%- endif %}
  79. {%- if pillar.linux.system.atop is defined %}
  80. - linux.system.atop
  81. {%- endif %}
  82. {%- if system.console is defined %}
  83. - linux.system.console
  84. {%- endif %}
  85. {%- if system.limit|length > 0 %}
  86. - linux.system.limit
  87. {%- endif %}
  88. {%- if system.motd|length > 0 %}
  89. - linux.system.motd
  90. {%- endif %}
  91. {%- if system.get('policyrcd', [])|length > 0 %}
  92. - linux.system.policyrcd
  93. {%- endif %}
  94. {%- if system.haveged is defined %}
  95. - linux.system.haveged
  96. {%- endif %}
  97. {%- if system.config is defined %}
  98. - linux.system.config
  99. {%- endif %}
  100. {%- if system.sudo is defined %}
  101. - linux.system.sudo
  102. {%- endif %}
  103. {%- if system.netconsole is defined %}
  104. - linux.system.netconsole
  105. {%- endif %}
  106. {%- if system.service is defined %}
  107. - linux.system.service
  108. {%- endif %}
  109. {%- if system.systemd is defined %}
  110. - linux.system.systemd
  111. {%- endif %}
  112. {%- if system.directory is defined %}
  113. - linux.system.directory
  114. {%- endif %}
  115. {%- if system.file is defined %}
  116. - linux.system.file
  117. {%- endif %}
  118. {%- if system.ld is defined %}
  119. - linux.system.ld
  120. {%- endif %}
  121. {%- if system.apt is defined and grains.os_family == 'Debian' %}
  122. - linux.system.apt
  123. {%- endif %}
  124. {%- if system.auth is defined %}
  125. - linux.system.auth
  126. {%- endif %}
  127. {%- if system.banner is defined %}
  128. - linux.system.banner
  129. {%- endif %}
  130. {%- if system.mcelog is defined %}
  131. - linux.system.mcelog
  132. {%- endif %}