Files
charm-vault/src/templates/vault.hcl.j2
T
Liam Young 773b360a70 Restructure charm to follow src dir format
The OpenStack reactive charms use a src directory to store the
'source' charm. Convert the vault charm to comply with this
structure.

Change-Id: I7dd36b9aa7419459238f989dfe6c0553f7641cdf
2018-02-19 10:19:09 +00:00

20 lines
370 B
Django/Jinja

{%- if disable_mlock %}
disable_mlock = true
{%- endif %}
{%- if db_conn %}
storage "postgresql" {
connection_url = "{{ db_conn.uri }}"
}
{%- endif %}
listener "tcp" {
address = "0.0.0.0:8200"
{%- if ssl_available %}
tls_cert_file = "/var/snap/vault/common/vault.crt"
tls_key_file = "/var/snap/vault/common/vault.key"
{%- else %}
tls_disable = 1
{%- endif %}
}