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
614B

  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',{}).iteritems() %}
  4. Cmnd_Alias {{ alias }}={{ commands|join(', ') }}
  5. {%- endfor %}
  6. {%- for alias,users in aliases.get('user',{}).iteritems() %}
  7. User_Alias {{ alias }}={{ users|join(', ') }}
  8. {%- endfor %}
  9. {%- for alias,users in aliases.get('runas',{}).iteritems() %}
  10. Runas_Alias {{ alias }}={{ users|join(', ') }}
  11. {%- endfor %}
  12. {%- for alias,hosts in aliases.get('host',{}).iteritems() %}
  13. Host_Alias {{ alias }}={{ hosts|join(', ') }}
  14. {%- endfor %}