fix(config): Include custom configuration in global file

Previously, this formula generated two configuration files,
a global one for database and secrets setup and
a custom one for all other settings in `custom/conf/app.ini`.

This did not work as intended.
This commit is contained in:
jeanluc
2022-05-10 13:27:01 +02:00
parent d21bbac35c
commit 670dc9c945
35 changed files with 398 additions and 385 deletions

View File

@@ -12,6 +12,8 @@ gitea-config-clean-file-absent:
file.absent:
- names:
- {{ gitea.lookup.paths.conf | path_join('app.ini') }}
- {{ gitea.lookup.paths.custom | path_join('conf', 'app.ini') }}
{%- if gitea._generate_token %}
- {{ gitea.lookup.paths.internal_token_uri[7:] }}
{%- endif %}
- require:
- sls: {{ sls_service_clean }}