|
12345678910111213141516171819 |
- {%- from "diaspora/map.jinja" import diaspora with context %}
-
- {{ diaspora.install_path }}/config/database.yml:
- file.managed:
- - user: {{ diaspora.user.username }}
- - mode: 600
- - source: salt://diaspora/files/database.yml
- - template: jinja
- - context:
- database: {{ diaspora.database|json }}
-
- {{ diaspora.install_path }}/config/diaspora.yml:
- file.managed:
- - user: {{ diaspora.user.username }}
- - mode: 600
- - source: salt://diaspora/files/diaspora.yml
- - template: jinja
- - context:
- configuration: {{ diaspora.configuration|json }}
|