{%- from "diaspora/map.jinja" import diaspora with context %} | |||||
# -*- coding: utf-8 -*- | |||||
# vim: ft=sls | |||||
{#- Get the `tplroot` from `tpldir` #} | |||||
{%- set tplroot = tpldir.split('/')[0] %} | |||||
{%- from tplroot ~ "/map.jinja" import diaspora with context %} | |||||
{{ diaspora.install_path }}/config/database.yml: | {{ diaspora.install_path }}/config/database.yml: | ||||
file.managed: | file.managed: |
include: | include: | ||||
- diaspora.install | |||||
- diaspora.config | |||||
- diaspora.service | |||||
- .install | |||||
- .config | |||||
- .service |
{%- from "diaspora/map.jinja" import diaspora with context %} | |||||
# -*- coding: utf-8 -*- | |||||
# vim: ft=sls | |||||
{#- Get the `tplroot` from `tpldir` #} | |||||
{%- set tplroot = tpldir.split('/')[0] %} | |||||
{%- from tplroot ~ "/map.jinja" import diaspora with context %} | |||||
{%- set environment = diaspora.configuration.server.rails_environment %} | {%- set environment = diaspora.configuration.server.rails_environment %} | ||||
include: | include: | ||||
- diaspora.config | |||||
- {{ tplroot }}.config | |||||
{%- if grains.os == 'CentOS' and grains.osmajorrelease >= 8 %} | {%- if grains.os == 'CentOS' and grains.osmajorrelease >= 8 %} | ||||
diaspora_centos_enable_powertools_repo: | diaspora_centos_enable_powertools_repo: |
{%- from "diaspora/map.jinja" import diaspora with context %} | |||||
# -*- coding: utf-8 -*- | |||||
# vim: ft=sls | |||||
{#- Get the `tplroot` from `tpldir` #} | |||||
{%- set tplroot = tpldir.split('/')[0] %} | |||||
{%- from tplroot ~ "/map.jinja" import diaspora with context %} | |||||
include: | include: | ||||
- diaspora.install | |||||
- diaspora.config | |||||
- {{ tplroot }}.install | |||||
- {{ tplroot }}.config | |||||
/etc/systemd/system/diaspora-sidekiq.service: | /etc/systemd/system/diaspora-sidekiq.service: | ||||
file.managed: | file.managed: |