dotfiles/salt/states/repositories.sls
2020-05-09 11:17:42 +02:00

11 lines
354 B
Plaintext

{% for repo, args in salt['pillar.get']('repositories', {}).items() %}
Add {{ repo }} repository:
pkgrepo.managed:
- name: {{ repo }}
- humanname: {{ args['humanname'] }}
- baseurl: {{ args['baseurl'] }}
- enabled: {{ args['enabled'] }}
- gpgautoimport: {{ args['gpgautoimport'] }}
- refresh: {{ args['refresh'] }}
{% endfor %}