{%- 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.items() %} group {{ cgroup_name }} { {%- for controller_name, controller in cg.controller.items() %} {{ controller_name }} { {%- for v_name, v in controller.items() %} {{ controller_name }}.{{ v_name }}="{{ v.value }}"; {%- endfor %} } {%- endfor %} } {%- endfor %}