paulbsd-salt/states/autoconfig/install.sls

25 lines
604 B
Plaintext
Raw Permalink Normal View History

2021-03-20 10:41:28 +01:00
---
{%- from "autoconfig/map.jinja" import autoconfig with context %}
autoconfig-directory:
file.directory:
- name: {{ autoconfig.install_dir }}/autoconfig
- user: root
- group: root
- mode: 0755
autoconfig-maildir:
file.directory:
- name: {{ autoconfig.install_dir }}/autoconfig/mail
- user: root
- group: root
- mode: 0755
autoconfig-file:
file.managed:
- name: {{ autoconfig.install_dir }}/autoconfig/mail/config-v1.1.xml
2023-03-11 10:08:26 +01:00
- source: salt://autoconfig/templates/config-v1.1.xml.j2
2021-03-20 10:41:28 +01:00
- user: root
- group: root
- mode: 0644
- template: jinja