|
12345678910111213141516 |
- {%- from "linux/map.jinja" import system with context -%}
- ##
- ## This is cgconfig configuration file is managed by Salt
- ##
- {%- for cgroup_name, cg in system.cgroup.group.iteritems() %}
- group {{ cgroup_name }} {
- {%- for controller_name, controller in cg.controller.iteritems() %}
- {{ controller_name }} {
- {%- for v_name, v in controller.iteritems() %}
- {{ controller_name }}.{{ v_name }}="{{ v.value }}";
- {%- endfor %}
-
- }
- {%- endfor %}
- }
- {%- endfor %}
|