Commit ca095be0 authored by Denis Laxalde's avatar Denis Laxalde Committed by Philippe Pepiot

Include "saemref.supervisor" in upgrade SLS module

This is obviously needed as we run "supervisorctl" command. Also, when
users run only "saemref.upgrade" state, if supervisor files need to
change, this won't happen without the inclusion.
parent f3c97919
# -*- coding: utf-8 -*-
{% from "saemref/map.jinja" import saemref with context %}
include:
- saemref.install
- saemref.supervisor
supervisorctl stop all:
cmd.run
......@@ -10,9 +14,6 @@ drop old virtualenv:
- require_in:
- virtualenv: venv
include:
- saemref.install
cubicweb-upgrade:
cmd.run:
- name: /home/{{ saemref.instance.user }}/venv/bin/cubicweb-ctl upgrade --backup-db=y --nostartstop --force --verbosity=0 {{ saemref.instance.name }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment