Pārlūkot izejas kodu

Fixed curl to follow redirections.

pull/150/head
Martin Horak pirms 6 gadiem
vecāks
revīzija
9673a18fba
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. +3
    -3
      linux/system/repo.sls

+ 3
- 3
linux/system/repo.sls Parādīt failu

@@ -93,7 +93,7 @@ linux_repo_{{ name }}_key:

linux_repo_{{ name }}_key:
cmd.wait:
- name: "curl -s {{ repo.key_url }} | apt-key add -"
- name: "curl -sL {{ repo.key_url }} | apt-key add -"
- watch:
- file: default_repo_list

@@ -150,8 +150,8 @@ linux_repo_{{ name }}_key:

linux_repo_{{ name }}_key:
cmd.run:
- name: "curl -s {{ repo.key_url }} | apt-key add -"
- unless: "apt-key finger --with-colons | grep -qF $(curl -s {{ repo.key_url }} | gpg --with-fingerprint --with-colons | grep -E '^fpr')"
- name: "curl -sL {{ repo.key_url }} | apt-key add -"
- unless: "apt-key finger --with-colons | grep -qF $(curl -sL {{ repo.key_url }} | gpg --with-fingerprint --with-colons | grep -E '^fpr')"
- require_in:
- pkgrepo: linux_repo_{{ name }}


Notiek ielāde…
Atcelt
Saglabāt