blob: aee77260e6cb8397797e2e2d3aea329400aefb6e [file] [log] [blame]
{%- 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 %}