paulbsd-salt/states/dokuwiki/config.sls

26 lines
811 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
{%- from "dokuwiki/map.jinja" import dokuwiki with context %}
2020-07-30 14:06:36 +02:00
dokuwiki-config-local:
2020-07-10 00:58:55 +02:00
file.managed:
- name: {{ dokuwiki.install_dir }}/dokuwiki/conf/local.php
- source: salt://dokuwiki/templates/local.php.j2
- user: {{ dokuwiki.user }}
- group: {{ dokuwiki.group }}
2020-07-30 14:06:36 +02:00
- template: jinja
dokuwiki-config-acl:
file.managed:
- name: {{ dokuwiki.install_dir }}/dokuwiki/conf/acl.auth.php
- source: salt://dokuwiki/templates/acl.auth.php.j2
- user: {{ dokuwiki.user }}
- group: {{ dokuwiki.group }}
- template: jinja
dokuwiki-config-users:
file.managed:
- name: {{ dokuwiki.install_dir }}/dokuwiki/conf/users.auth.php
- source: salt://dokuwiki/templates/users.auth.php.j2
- user: {{ dokuwiki.user }}
- group: {{ dokuwiki.group }}
- template: jinja