2014-12-22 17:09:51 +01:00
|
|
|
saltstack-apt-key:
|
|
|
|
file.managed:
|
|
|
|
- name: /etc/apt/trusted.gpg.d/saltstack.gpg
|
2015-06-09 23:05:49 +02:00
|
|
|
- source: salt://{{ slspath }}/saltstack.gpg
|
2014-12-22 17:09:51 +01:00
|
|
|
- user: root
|
|
|
|
- group: root
|
|
|
|
- mode: 644
|
|
|
|
|
|
|
|
saltstack-pkgrepo:
|
|
|
|
file.managed:
|
|
|
|
- name: /etc/apt/sources.list.d/saltstack.list
|
2015-06-09 23:05:49 +02:00
|
|
|
- source: salt://{{ slspath }}/sources.list
|
2014-12-22 17:09:51 +01:00
|
|
|
- user: root
|
|
|
|
- group: root
|
|
|
|
- mode: 644
|
|
|
|
- template: jinja
|
|
|
|
- require:
|
|
|
|
- file: saltstack-apt-key
|
|
|
|
# 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
|