Browse Source

docker: fix test for tls certs

master
Sean Johnson 3 years ago
parent
commit
91ecd40b05
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG Key ID: 9FA15B87469EA850
  1. 6
      app/docker/tls.sls

6
app/docker/tls.sls

@ -26,7 +26,7 @@
- user: root
- group: docker
- mode: 0660
- onlyif: "test -f {{ cert_file }}"
- onlyif: "test ! -f {{ cert_file }}"
{% if cert_data %} - contents_pillar: "docker:tls:cert"
{% endif %}
@ -35,7 +35,7 @@
- user: root
- group: docker
- mode: 0660
- onlyif: "test -f {{ key_file }}"
- onlyif: "test ! -f {{ key_file }}"
{% if key_data %} - content_pillar: "docker:tls:key"
{% endif %}
@ -44,6 +44,6 @@
- user: root
- group: docker
- mode: 0660
- onlyif: "test -f {{ ca_file }}"
- onlyif: "test ! -f {{ ca_file }}"
{% if ca_data %} - content_pillar: "docker:tls:ca"
{% endif %}
Loading…
Cancel
Save