chore: Update template
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
Has a dependency on `gitea.config.clean`_.
|
||||
#}
|
||||
|
||||
{%- set tplroot = tpldir.split('/')[0] %}
|
||||
{%- set sls_config_clean = tplroot ~ '.config.clean' %}
|
||||
{%- set tplroot = tpldir.split("/")[0] %}
|
||||
{%- set sls_config_clean = tplroot ~ ".config.clean" %}
|
||||
{%- from tplroot ~ "/map.jinja" import mapdata as gitea with context %}
|
||||
|
||||
include:
|
||||
@@ -17,8 +17,8 @@ Gitea package files are absent:
|
||||
file.absent:
|
||||
- names:
|
||||
- {{ gitea.lookup.service.unit.format(name=gitea.lookup.service.name) }}
|
||||
- {{ gitea.lookup.paths.bin | path_join('gitea') }}
|
||||
{%- for p in ['conf', 'custom', 'log'] %}
|
||||
- {{ gitea.lookup.paths.bin | path_join("gitea") }}
|
||||
{%- for p in ["conf", "custom", "log"] %}
|
||||
- {{ gitea.lookup.paths[p] }}
|
||||
{%- endfor %}
|
||||
# to make sure this can be installed again (onchanges req in package.installed)
|
||||
|
||||
Reference in New Issue
Block a user