2020-07-10 00:58:55 +02:00
|
|
|
# vim: ft=sls
|
2021-12-29 16:56:39 +01:00
|
|
|
---
|
2020-07-10 00:58:55 +02:00
|
|
|
{% from "gitea/map.jinja" import gitea with context %}
|
|
|
|
|
2021-12-29 16:56:39 +01:00
|
|
|
gitea-config:
|
2020-07-10 00:58:55 +02:00
|
|
|
file.managed:
|
2021-12-29 16:56:39 +01:00
|
|
|
- name: {{ gitea.configfile }}
|
2020-07-10 00:58:55 +02:00
|
|
|
- source: salt://gitea/files/app.ini.j2
|
|
|
|
- template: jinja
|
|
|
|
- user: git
|
|
|
|
- group: git
|
2021-09-25 16:10:41 +02:00
|
|
|
- mode: 600
|
2020-09-12 17:41:35 +02:00
|
|
|
- makedirs: true
|
2020-07-10 00:58:55 +02:00
|
|
|
- require:
|
|
|
|
- git
|