paulbsd-salt/states/forgejo/config.sls
Paul 1b256c5e6d
All checks were successful
continuous-integration/drone/push Build is passing
add forgejo state
2025-03-01 09:42:01 +01:00

16 lines
347 B
Plaintext

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