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.

93 lines
2.2KB

  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.locale|length > 0 %}
  34. - linux.system.locale
  35. {%- endif %}
  36. {%- if system.prompt is defined %}
  37. - linux.system.prompt
  38. {%- endif %}
  39. {%- if system.bash is defined %}
  40. - linux.system.bash
  41. {%- endif %}
  42. {%- if system.user|length > 0 %}
  43. - linux.system.user
  44. {%- endif %}
  45. {%- if system.group|length > 0 %}
  46. - linux.system.group
  47. {%- endif %}
  48. {%- if system.rc is defined %}
  49. - linux.system.rc
  50. {%- endif %}
  51. {%- if system.job|length > 0 %}
  52. - linux.system.job
  53. {%- endif %}
  54. {%- if grains.os_family == 'RedHat' %}
  55. - linux.system.selinux
  56. {%- endif %}
  57. {%- if system.ca_certificates is defined %}
  58. - linux.system.certificate
  59. {%- endif %}
  60. {%- if system.apparmor is defined %}
  61. - linux.system.apparmor
  62. {%- endif %}
  63. {%- if system.console is defined %}
  64. - linux.system.console
  65. {%- endif %}
  66. {%- if system.limit|length > 0 %}
  67. - linux.system.limit
  68. {%- endif %}
  69. {%- if system.motd|length > 0 %}
  70. - linux.system.motd
  71. {%- endif %}
  72. {%- if system.get('policyrcd', [])|length > 0 %}
  73. - linux.system.policyrcd
  74. {%- endif %}
  75. {%- if system.haveged is defined %}
  76. - linux.system.haveged
  77. {%- endif %}
  78. {%- if system.config is defined %}
  79. - linux.system.config
  80. {%- endif %}
  81. {%- if system.sudo is defined %}
  82. - linux.system.sudo
  83. {%- endif %}
  84. {%- if system.netconsole is defined %}
  85. - linux.system.netconsole
  86. {%- endif %}
  87. {%- if system.service is defined %}
  88. - linux.system.service
  89. {%- endif %}
  90. {%- if system.systemd is defined %}
  91. - linux.system.systemd
  92. {%- endif %}