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.

cgconfig.conf 480B

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