-
Notifications
You must be signed in to change notification settings - Fork 419
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #191 from hemebond/master
Make Debian use pkgrepo.managed
- Loading branch information
Showing
4 changed files
with
13 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,11 @@ | ||
saltstack-apt-key: | ||
file.managed: | ||
- name: /etc/apt/trusted.gpg.d/saltstack.gpg | ||
- source: salt://{{ slspath }}/saltstack.gpg | ||
- user: root | ||
- group: root | ||
- mode: 644 | ||
{% from "salt/map.jinja" import salt_settings with context %} | ||
saltstack-pkgrepo: | ||
file.managed: | ||
- name: /etc/apt/sources.list.d/saltstack.list | ||
- source: salt://{{ slspath }}/sources.list | ||
- user: root | ||
- group: root | ||
- mode: 644 | ||
- template: jinja | ||
- require: | ||
- file: saltstack-apt-key | ||
pkgrepo.managed: | ||
- humanname: SaltStack Debian Repo | ||
- name: {{ salt_settings.pkgrepo }} | ||
- file: /etc/apt/sources.list.d/saltstack.list | ||
- key_url: {{ salt_settings.key_url }} | ||
# 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 |
This file was deleted.
Oops, something went wrong.