@@ -1,4 +1,9 @@ | |||
{%- 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: | |||
file.managed: |
@@ -1,4 +1,4 @@ | |||
include: | |||
- diaspora.install | |||
- diaspora.config | |||
- diaspora.service | |||
- .install | |||
- .config | |||
- .service |
@@ -1,8 +1,13 @@ | |||
{%- 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 %} | |||
include: | |||
- diaspora.config | |||
- {{ tplroot }}.config | |||
{%- if grains.os == 'CentOS' and grains.osmajorrelease >= 8 %} | |||
diaspora_centos_enable_powertools_repo: |
@@ -1,8 +1,13 @@ | |||
{%- 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: | |||
- diaspora.install | |||
- diaspora.config | |||
- {{ tplroot }}.install | |||
- {{ tplroot }}.config | |||
/etc/systemd/system/diaspora-sidekiq.service: | |||
file.managed: |