|
|
|
|
|
|
|
|
- diaspora.install |
|
|
- diaspora.install |
|
|
- diaspora.config |
|
|
- diaspora.config |
|
|
|
|
|
|
|
|
/etc/systemd/system/diaspora.service: |
|
|
|
|
|
|
|
|
/etc/systemd/system/diaspora-sidekiq.service: |
|
|
file.managed: |
|
|
file.managed: |
|
|
- user: root |
|
|
- user: root |
|
|
- mode: 644 |
|
|
- mode: 644 |
|
|
- source: salt://diaspora/files/diaspora.service |
|
|
|
|
|
|
|
|
- source: salt://diaspora/files/diaspora-sidekiq.service |
|
|
- template: jinja |
|
|
- template: jinja |
|
|
- context: |
|
|
- context: |
|
|
diaspora: {{ diaspora|json }} |
|
|
diaspora: {{ diaspora|json }} |
|
|
|
|
|
|
|
|
|
|
|
/etc/systemd/system/diaspora-web.service: |
|
|
|
|
|
file.managed: |
|
|
|
|
|
- user: root |
|
|
|
|
|
- mode: 644 |
|
|
|
|
|
- source: salt://diaspora/files/diaspora-web.service |
|
|
|
|
|
- template: jinja |
|
|
|
|
|
- context: |
|
|
|
|
|
diaspora: {{ diaspora|json }} |
|
|
|
|
|
|
|
|
|
|
|
/etc/systemd/system/diaspora.target: |
|
|
|
|
|
file.managed: |
|
|
|
|
|
- user: root |
|
|
|
|
|
- mode: 644 |
|
|
|
|
|
- source: salt://diaspora/files/diaspora.target |
|
|
|
|
|
- template: jinja |
|
|
|
|
|
- context: |
|
|
|
|
|
diaspora: {{ diaspora|json }} |
|
|
|
|
|
|
|
|
|
|
|
diaspora_sidekiq_service: |
|
|
|
|
|
service.enabled: |
|
|
|
|
|
- name: diaspora-sidekiq |
|
|
|
|
|
- requre: |
|
|
|
|
|
- file: /etc/systemd/system/diaspora-sidekiq.service |
|
|
|
|
|
|
|
|
|
|
|
diaspora_web_service: |
|
|
|
|
|
service.enabled: |
|
|
|
|
|
- name: diaspora-web |
|
|
|
|
|
- requre: |
|
|
|
|
|
- file: /etc/systemd/system/diaspora-web.service |
|
|
|
|
|
|
|
|
diaspora_service: |
|
|
diaspora_service: |
|
|
service.running: |
|
|
service.running: |
|
|
- name: diaspora |
|
|
|
|
|
|
|
|
- name: diaspora.target |
|
|
- enable: True |
|
|
- enable: True |
|
|
- requre: |
|
|
- requre: |
|
|
- cmd: diaspora_precompile_assets |
|
|
- cmd: diaspora_precompile_assets |
|
|
|
|
|
- file: /etc/systemd/system/diaspora.target |
|
|
|
|
|
- service: diaspora_sidekiq_service |
|
|
|
|
|
- service: diaspora_web_service |
|
|
- watch: |
|
|
- watch: |
|
|
- git: diaspora_git |
|
|
- git: diaspora_git |
|
|
- file: {{ diaspora.install_path }}/config/database.yml |
|
|
- file: {{ diaspora.install_path }}/config/database.yml |