vault should always configure itself

This commit is contained in:
Jonathan Mickle 2017-04-28 09:52:19 -07:00
parent 32aad6e68e
commit da9c643213

View file

@ -21,8 +21,7 @@ generate self signed SSL certs:
- user: root - user: root
- group: root - group: root
- mode: 755 - mode: 755
{%- if vault.dev_mode %}
/etc/vault/config: /etc/vault/config:
file.directory: file.directory:
- user: root - user: root
@ -40,7 +39,6 @@ generate self signed SSL certs:
- mode: 644 - mode: 644
- require: - require:
- file: /etc/vault/config - file: /etc/vault/config
{% endif -%}
{%- if vault.service.type == 'systemd' %} {%- if vault.service.type == 'systemd' %}
/etc/systemd/system/vault.service: /etc/systemd/system/vault.service: