Saltstack Official Linux Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

17 行
480B

  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 %}