Sfoglia il codice sorgente

Fix syntax - add quotes.

pull/150/head
Martin Horak 6 anni fa
parent
commit
ceb6686d71
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. +3
    -3
      linux/system/repo.sls

+ 3
- 3
linux/system/repo.sls Vedi File

@@ -85,7 +85,7 @@ linux_repo_{{ name }}_pin:

linux_repo_{{ name }}_key:
cmd.wait:
- name: echo -e '{{ repo.key|replace('\n', '\\n') }}' | apt-key add -
- name: "echo -e '{{ repo.key|replace('\n', '\\n') }}' | apt-key add -"
- watch:
- file: default_repo_list

@@ -141,8 +141,8 @@ linux_repo_{{ name }}:

linux_repo_{{ name }}_key:
cmd.run:
- name: echo -e '{{ repo.key|replace('\n', '\\n') }}' | apt-key add -
- unless: apt-key finger --with-colons | grep -qF $(echo -e '{{ repo.key|replace('\n', '\\n') }}' | gpg --with-fingerprint --with-colons | grep -E '^fpr')
- name: "echo -e '{{ repo.key|replace('\n', '\\n') }}' | apt-key add -"
- unless: "apt-key finger --with-colons | grep -qF $(echo -e '{{ repo.key|replace('\n', '\\n') }}' | gpg --with-fingerprint --with-colons | grep -E '^fpr')"
- require_in:
- pkgrepo: linux_repo_{{ name }}


Loading…
Annulla
Salva