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.

123 line
2.9KB

  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.cgroup is defined %}
  37. - linux.system.cgroup
  38. {%- endif %}
  39. {%- if system.locale|length > 0 %}
  40. - linux.system.locale
  41. {%- endif %}
  42. {%- if system.prompt is defined %}
  43. - linux.system.prompt
  44. {%- endif %}
  45. {%- if system.bash is defined %}
  46. - linux.system.bash
  47. {%- endif %}
  48. {%- if system.user|length > 0 %}
  49. - linux.system.user
  50. {%- endif %}
  51. {%- if system.group|length > 0 %}
  52. - linux.system.group
  53. {%- endif %}
  54. {%- if system.rc is defined %}
  55. - linux.system.rc
  56. {%- endif %}
  57. {%- if system.job|length > 0 %}
  58. - linux.system.job
  59. {%- endif %}
  60. {%- if grains.os_family == 'RedHat' %}
  61. - linux.system.selinux
  62. {%- endif %}
  63. {%- if system.ca_certificates is defined %}
  64. - linux.system.certificate
  65. {%- endif %}
  66. {%- if system.apparmor is defined %}
  67. - linux.system.apparmor
  68. {%- endif %}
  69. {%- if pillar.linux.system.atop is defined %}
  70. - linux.system.atop
  71. {%- endif %}
  72. {%- if system.console is defined %}
  73. - linux.system.console
  74. {%- endif %}
  75. {%- if system.limit|length > 0 %}
  76. - linux.system.limit
  77. {%- endif %}
  78. {%- if system.motd|length > 0 %}
  79. - linux.system.motd
  80. {%- endif %}
  81. {%- if system.get('policyrcd', [])|length > 0 %}
  82. - linux.system.policyrcd
  83. {%- endif %}
  84. {%- if system.haveged is defined %}
  85. - linux.system.haveged
  86. {%- endif %}
  87. {%- if system.config is defined %}
  88. - linux.system.config
  89. {%- endif %}
  90. {%- if system.sudo is defined %}
  91. - linux.system.sudo
  92. {%- endif %}
  93. {%- if system.netconsole is defined %}
  94. - linux.system.netconsole
  95. {%- endif %}
  96. {%- if system.service is defined %}
  97. - linux.system.service
  98. {%- endif %}
  99. {%- if system.systemd is defined %}
  100. - linux.system.systemd
  101. {%- endif %}
  102. {%- if system.directory is defined %}
  103. - linux.system.directory
  104. {%- endif %}
  105. {%- if system.file is defined %}
  106. - linux.system.file
  107. {%- endif %}
  108. {%- if system.ld is defined %}
  109. - linux.system.ld
  110. {%- endif %}
  111. {%- if system.apt is defined and grains.os_family == 'Debian' %}
  112. - linux.system.apt
  113. {%- endif %}
  114. {%- if system.auth is defined %}
  115. - linux.system.auth
  116. {%- endif %}
  117. {%- if system.banner is defined %}
  118. - linux.system.banner
  119. {%- endif %}
  120. {%- if system.mcelog is defined %}
  121. - linux.system.mcelog
  122. {%- endif %}