paulbsd-salt/states/gitea/config.sls
Paul 3343913ddf
All checks were successful
continuous-integration/drone Build is passing
continuous-integration/drone/push Build is passing
updated gitea state
2025-01-05 18:52:23 +01:00

16 lines
333 B
Plaintext

# vim: ft=sls
---
{% from "gitea/map.jinja" import gitea with context %}
gitea-config:
file.managed:
- name: {{ gitea.configfile }}
- source: salt://gitea/templates/app.ini.j2
- template: jinja
- user: {{ gitea.user }}
- group: {{ gitea.group }}
- mode: 600
- makedirs: true
- require:
- git