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.

128 line
3.0KB

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