chore: Update template
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
Stops the gitea service and disables it at boot time.
|
||||
#}
|
||||
|
||||
{%- set tplroot = tpldir.split('/')[0] %}
|
||||
{%- set tplroot = tpldir.split("/")[0] %}
|
||||
{%- from tplroot ~ "/map.jinja" import mapdata as gitea with context %}
|
||||
|
||||
Gitea is dead:
|
||||
service.dead:
|
||||
- name: {{ gitea.lookup.service.name }}
|
||||
- enable: False
|
||||
- enable: false
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# vim: ft=sls
|
||||
|
||||
{%- set tplroot = tpldir.split('/')[0] %}
|
||||
{%- set sls_config_file = tplroot ~ '.config.file' %}
|
||||
{%- set tplroot = tpldir.split("/")[0] %}
|
||||
{%- set sls_config_file = tplroot ~ ".config.file" %}
|
||||
{%- from tplroot ~ "/map.jinja" import mapdata as gitea with context %}
|
||||
|
||||
include:
|
||||
@@ -10,7 +10,7 @@ include:
|
||||
Gitea is running:
|
||||
service.running:
|
||||
- name: {{ gitea.lookup.service.name }}
|
||||
- enable: True
|
||||
- enable: true
|
||||
- watch:
|
||||
- sls: {{ sls_config_file }}
|
||||
- Gitea binary is installed
|
||||
|
||||
Reference in New Issue
Block a user