2015-12-05 11:24:05 +01:00
|
|
|
{% from "salt/map.jinja" import salt_settings with context %}
|
2014-12-22 17:09:51 +01:00
|
|
|
|
|
|
|
saltstack-pkgrepo:
|
2015-12-05 11:24:05 +01:00
|
|
|
pkgrepo.managed:
|
|
|
|
- humanname: SaltStack Debian Repo
|
|
|
|
- name: {{ salt_settings.pkgrepo }}
|
|
|
|
- file: /etc/apt/sources.list.d/saltstack.list
|
|
|
|
- key_url: {{ salt_settings.key_url }}
|
2014-12-22 17:09:51 +01:00
|
|
|
# Order: 1 because we can't put a require_in on "pkg: salt-{master,minion}"
|
|
|
|
# because we don't know if they are used.
|
|
|
|
- order: 1
|