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.

66 lines
1.5KB

  1. {%- from "linux/map.jinja" import system with context %}
  2. include:
  3. {%- if system.repo|length > 0 %}
  4. - linux.system.repo
  5. {%- endif %}
  6. {%- if system.pkgs|length > 0 %}
  7. - linux.system.package
  8. {%- endif %}
  9. {%- if system.timezone is defined %}
  10. - linux.system.timezone
  11. {%- endif %}
  12. {%- if system.kernel is defined %}
  13. - linux.system.kernel
  14. {%- endif %}
  15. {%- if system.locale|length > 0 %}
  16. - linux.system.locale
  17. {%- endif %}
  18. {%- if system.prompt is defined %}
  19. - linux.system.prompt
  20. {%- endif %}
  21. {%- if system.bash is defined %}
  22. - linux.system.bash
  23. {%- endif %}
  24. {%- if system.user|length > 0 %}
  25. - linux.system.user
  26. {%- endif %}
  27. {%- if system.group|length > 0 %}
  28. - linux.system.group
  29. {%- endif %}
  30. {%- if system.rc is defined %}
  31. - linux.system.rc
  32. {%- endif %}
  33. {%- if system.job|length > 0 %}
  34. - linux.system.job
  35. {%- endif %}
  36. {%- if grains.os_family == 'RedHat' %}
  37. - linux.system.selinux
  38. {%- endif %}
  39. {%- if system.ca_certificates is defined %}
  40. - linux.system.certificate
  41. {%- endif %}
  42. {%- if system.apparmor is defined %}
  43. - linux.system.apparmor
  44. {%- endif %}
  45. {%- if system.console is defined %}
  46. - linux.system.console
  47. {%- endif %}
  48. {%- if system.doc is defined %}
  49. - linux.system.doc
  50. {%- endif %}
  51. {%- if system.limit|length > 0 %}
  52. - linux.system.limit
  53. {%- endif %}
  54. {%- if system.motd|length > 0 %}
  55. - linux.system.motd
  56. {%- endif %}
  57. {%- if system.get('policyrcd', [])|length > 0 %}
  58. - linux.system.policyrcd
  59. {%- endif %}
  60. {%- if system.haveged is defined %}
  61. - linux.system.haveged
  62. {%- endif %}
  63. {%- if system.config is defined %}
  64. - linux.system.config
  65. {%- endif %}