{%- from "linux/map.jinja" import system with context -%} ## ## This is cgrules configuration file is managed by Salt ## #<user/group> <controller(s)> <cgroup> {%- for cgroup_name, cg in system.cgroup.group.items() %} {%- for subject in cg.mapping.subjects %} {{ subject }}{% raw %} {% endraw %}{%- for controller_name, controller in cg.controller.items() -%}{{ controller_name }}{%- if not loop.last -%},{%- endif -%}{%- endfor -%}{% raw %} {% endraw %}{{ cgroup_name }} {%- endfor %} {%- endfor %}