paulbsd-salt/states/gitea/config.sls

16 lines
333 B
Plaintext
Raw Normal View History

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 }}
2023-03-11 10:08:26 +01:00
- source: salt://gitea/templates/app.ini.j2
2020-07-10 00:58:55 +02:00
- template: jinja
2025-01-05 18:52:23 +01:00
- user: {{ gitea.user }}
- group: {{ gitea.group }}
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:
2023-03-11 10:08:26 +01:00
- git