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.

20 lines
598B

  1. # sudoer aliases, file managed by salt-minion
  2. # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
  3. {%- for alias,commands in aliases.get('command',{}).items() %}
  4. Cmnd_Alias {{ alias }}={{ commands|join(', ') }}
  5. {%- endfor %}
  6. {%- for alias,users in aliases.get('user',{}).items() %}
  7. User_Alias {{ alias }}={{ users|join(', ') }}
  8. {%- endfor %}
  9. {%- for alias,users in aliases.get('runas',{}).items() %}
  10. Runas_Alias {{ alias }}={{ users|join(', ') }}
  11. {%- endfor %}
  12. {%- for alias,hosts in aliases.get('host',{}).items() %}
  13. Host_Alias {{ alias }}={{ hosts|join(', ') }}
  14. {%- endfor %}