updated rainloop state
This commit is contained in:
parent
de7b753440
commit
47d87dbce9
@ -1 +1,19 @@
|
||||
---
|
||||
{%- from "rainloop/map.jinja" import rainloop with context %}
|
||||
rainloop-data-dir:
|
||||
file.directory:
|
||||
- name: {{ rainloop.data_dir }}
|
||||
- user: {{ rainloop.user }}
|
||||
- group: {{ rainloop.group }}
|
||||
|
||||
rainloop-config:
|
||||
file.managed:
|
||||
- name: {{ rainloop.install_dir }}/rainloop/include.php
|
||||
- source: salt://rainloop/templates/include.php.j2
|
||||
- user: {{ rainloop.user }}
|
||||
- group: {{ rainloop.group }}
|
||||
- template: jinja
|
||||
- context:
|
||||
config_includes:
|
||||
- '$sCustomDataPath = "{{ rainloop.data_dir }}";'
|
||||
- '$sCustomConfiguration = "";'
|
@ -5,6 +5,7 @@ rainloop:
|
||||
release_dir: /usr/local/apps/releases
|
||||
mirror: https://github.com/RainLoop/rainloop-webmail/releases/download
|
||||
version: 1.14.0
|
||||
data_dir: /var/lib/rainloop
|
||||
user: www-data
|
||||
group: www-data
|
||||
config: {}
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
include:
|
||||
#- php
|
||||
- php
|
||||
- .install
|
||||
#- .config
|
||||
- .config
|
||||
|
5
states/rainloop/templates/include.php.j2
Normal file
5
states/rainloop/templates/include.php.j2
Normal file
@ -0,0 +1,5 @@
|
||||
<?php
|
||||
{%- for line in config_includes %}
|
||||
{{ line }}
|
||||
{%- endfor %}
|
||||
?>
|
Loading…
Reference in New Issue
Block a user