fixing the requires list

This commit is contained in:
Jonathan Mickle 2017-04-28 09:26:32 -07:00
parent aff118493b
commit 32aad6e68e

View file

@ -67,6 +67,7 @@ generate self signed SSL certs:
vault:
service.running:
- enable: True
{%- if vault.self_signed_cert.enabled or vault.dev_mode %}
- require:
{%- if vault.self_signed_cert.enabled %}
- cmd: generate self signed SSL certs
@ -74,3 +75,4 @@ vault:
{%- if vault.dev_mode %}
- file: /etc/vault/config/server.hcl
{% endif -%}
{% endif -%}