Saltstack Official Linux Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

12345678910111213141516
  1. {%- from "linux/map.jinja" import system with context -%}
  2. ##
  3. ## This is cgconfig configuration file is managed by Salt
  4. ##
  5. {%- for cgroup_name, cg in system.cgroup.group.items() %}
  6. group {{ cgroup_name }} {
  7. {%- for controller_name, controller in cg.controller.items() %}
  8. {{ controller_name }} {
  9. {%- for v_name, v in controller.items() %}
  10. {{ controller_name }}.{{ v_name }}="{{ v.value }}";
  11. {%- endfor %}
  12. }
  13. {%- endfor %}
  14. }
  15. {%- endfor %}