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.

11 satır
532B

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